kafka/checkstyle
Philip Nee e2ed013c5a 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-09 18:53:09 -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:52:50 -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-8806 Reduce calls to validateOffsetsIfNeeded (#7222) 2020-08-21 10:25:52 -04:00
import-control.xml MINOR: trivial cleanups, javadoc errors, omitted StateStore tests, etc. (#8130) 2020-10-07 19:08:31 -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-09 18:53:09 -06:00