kafka/checkstyle
Philip Nee 572d4fda38 KAFKA-12879: Revert changes from KAFKA-12339 and instead add retry capability to KafkaBasedLog (#11797)
Fixes the compatibility issue regarding KAFKA-12879 by reverting the changes to the admin client from KAFKA-12339 (#10152) that retry admin client operations, and instead perform the retries within Connect's `KafkaBasedLog` during startup via a new `TopicAdmin.retryEndOffsets(..)` method. This method delegates to the existing `TopicAdmin.endOffsets(...)` method, but will retry on `RetriableException` until the retry timeout elapses.

This change should be backward compatible to the KAFKA-12339 so that when Connect's `KafkaBasedLog` starts up it will retry attempts to read the end offsets for the log's topic. The `KafkaBasedLog` existing thread already has its own retry logic, and this is not changed.

Added more unit tests, and thoroughly tested the new `RetryUtil` used to encapsulate the parameterized retry logic around any supplied function.
2022-03-10 10:46:54 -06:00
..
.scalafmt.conf MINOR: Add Scalafmt to Streams Scala API (#4965) 2018-07-09 16:48:34 -07:00
checkstyle.xml MINOR: Streams integration tests should not call exit (#9067) 2020-08-05 13:54:55 -07:00
import-control-core.xml KAFKA-9106 make metrics exposed via jmx configurable (#7674) 2020-02-13 10:21:14 -08:00
import-control-jmh-benchmarks.xml KAFKA-9820: validateMessagesAndAssignOffsetsCompressed allocates unused iterator (#8422) 2020-04-04 10:05:51 -07:00
import-control.xml Revert KAFKA-9309: Add the ability to translate Message to JSON (#9197) 2020-08-19 11:30:34 -07:00
java.header MINOR: improve license header check by providing head file instead of (prefix) header regex 2017-02-28 12:35:04 -08:00
suppressions.xml KAFKA-12879: Revert changes from KAFKA-12339 and instead add retry capability to KafkaBasedLog (#11797) 2022-03-10 10:46:54 -06:00