-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KsqlConfig fails to propagate monitoring interceptor configs prefixed with "producer." or "consumer." #2279
Comments
Note this worked in 5.0.x, but regressed in 5.1.x. |
I think the regression occurred as a result of changes in the resolveStreamConfig that filtered out unresolved Are there any examples of configs using
On another note: |
This still seems to be a problem in 5.2.2. When starting the server, we see |
This change: 1. Add more information on how to run the demo. 2. Upgrade confluent version to 5.3.1 and java libs. 3. Change docker-compose files to use latest jar and fix ZIPKIN environment variables. Issue: ZIPKIN properties in KSQL were not propagated to the interceptors because of a known bug: confluentinc/ksql#2279
This change: 1. Add more information on how to run the demo. 2. Upgrade confluent version to 5.3.1 and java libs. 3. Change docker-compose files to use latest jar and fix ZIPKIN environment variables. Issue: ZIPKIN properties in KSQL were not propagated to the interceptors because of a known bug: confluentinc/ksql#2279
This change: 1. Add more information on how to run the demo. 2. Upgrade confluent version to 5.3.1 and java libs. 3. Change docker-compose files to use the latest jar and fix ZIPKIN environment variables. Issue: ZIPKIN properties in KSQL were not propagated to the interceptors because of a known bug: confluentinc/ksql#2279
This change: 1. Add more information on how to run the demo. 2. Upgrade confluent version to 5.3.1 and java libs. 3. Change docker-compose files to use the latest jar and fix ZIPKIN environment variables. Issue: ZIPKIN properties in KSQL were not propagated to the interceptors because of a known bug: confluentinc/ksql#2279
hi @slepkin I'm not sure this is the case. We actually have a test to ensure you can set the acks, see ksql/ksql-common/src/test/java/io/confluent/ksql/util/KsqlConfigTest.java Lines 581 to 594 in 97fc956
If after double checking you're still having issues setting the ack level, can you raise a new Github issue please, as I don't believe your issue and this issue are related - unless you're prefixing the setting?. Please include relevant info, e.g. KSQL version, ksql-server.properties, commands youi're running, logs etc. Thanks! |
Fixes: confluentinc#2279 KSQL should allow any property to be passed to producers and consumers as the can be used to initialize things such as interceptors. We can not know ahead of time what the properties a custom interceptor needs, hence we can't exclude any settings we see.
* fix: be more lax on validating config Fixes: #2279 KSQL should allow any property to be passed to producers and consumers as the can be used to initialize things such as interceptors. We can not know ahead of time what the properties a custom interceptor needs, hence we can't exclude any settings we see.
Configs prefixed with
confluent.monitoring.interceptor.
are successfully passed by KSQL to KStreams, as evidenced by this test, but configs prefixed withproducer.confluent.monitoring.interceptor.
orconsumer.confluent.monitoring.interceptor.
fail to be passed through.Thus, users with the same producer and consumer monitoring interceptor configs have the workaround of using the
confluent.monitoring.interceptor.
prefix, rather thanproducer.confluent.monitoring.interceptor.
andconsumer.confluent.monitoring.interceptor.
separately, but this bug should be fixed so users may set different configs for the producer and consumer monitoring interceptors.The text was updated successfully, but these errors were encountered: