smjn opened a new pull request, #24110: URL: https://github.com/apache/kafka/pull/24110
Every share consumer of a group runs setupDLQ, so they all set the same DLQ topic and group configs at the same time. The broker has been seen to reject such concurrent writes with an UnknownServerException, which failed the worker. alterConfigs now describes the configs first and leaves them alone when they are already set, and otherwise alters them, retrying up to 5 times with a 2 second backoff plus up to 100 ms of jitter. A write that overlaps with another consumer's is harmless: all consumers set the same values, and the next attempt's describe sees them. alterConfigs takes a Time, with an overload that passes Time.SYSTEM, so that the tests can use a MockTime instead of waiting for the backoff. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
