-
Notifications
You must be signed in to change notification settings - Fork 51
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
Consumer's properties are also used for a producer to retry #29
Comments
Thanks for reporting :)
Right, we were aware of this occurrences of warn logs but it's something better to not to have. Would you be interested in sending a PR for that? |
Yes, I will create a PR. |
The following type of warning occurs many times when using the retry mechanism of decaton.
This warning occurs when a producer is given unused properties.
https://github.com/apache/kafka/blob/779f1444f128e9d77486243cb94d7efcdea26f52/clients/src/main/java/org/apache/kafka/common/config/AbstractConfig.java#L353-L355
I found that the following code causes this warning.
decaton/processor/src/main/java/com/linecorp/decaton/processor/runtime/SubscriptionBuilder.java
Lines 139 to 140 in cd7cbbb
Properties for a consumer are also used for properties for a retry producer.
I think this behavior is designed to set
bootstrap.servers
and so on without settings for retry.But, more consumer's properties there are, the more warnings may occur.
It might be a good idea to filter consumer's properties in order to set the properties to a retry producer without warnings.
The text was updated successfully, but these errors were encountered: