kafka
kafka copied to clipboard
Mirror of Apache Kafka
The code to convert the `Map` was initially expressed using the Streams API with `collect(Collectors.toMap())`. Unfortunately, the implementation of `Collector` returned by `Collectors.toMap()` does not support `null` entries. The `KafkaConsumer.offsetsForTimes()`...
In order to better analyze steady-state performance of Kafka, this PR enables a warmup in the Producer Performance test. The warmup duration is specified as a number of records that...
This PR implements KIP-1094.
Upgrade protobuf-java library to version 4.28.2, that bring much enhancements and bug fixing comparing to the existing 3.X one the version 4.x is backward compatible with Protobuf 3.x at the...
Jira [KAFKA-17792](https://issues.apache.org/jira/browse/KAFKA-17792) We have trace headers such as: "X-B3-SpanId": "74320e6e26adc8f8" if however the value happens to be: "407127e212797209" This is then treated as a numeric value and it tries to...
The purpose of this pull request is to removed the duplicated code existing in the `ByteUtilsBenchmark.java` class and use the existing one on `ByteUtils.java ` no other changes was made...
With EOSv1 removed, we don't need to collect producer's clientInstanceIds per task any longer. While we never completed this feature, we can remove the corresponding scaffolding code.
Attempting ugly workaround ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ]...
Updated `DEFAULT_GROUP_PROTOCOL` to use `CONSUMER` instead of `CLASSIC`, updated `GROUP_PROTOCOL_DOC` to be a little more flexible going forward, and cleaned up unit tests that assumed `CLASSIC` as the default group...
NotLeaderOrFollowerException occurs here https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/RemoteLeaderEndPoint.scala#L188 The current fix is to catch and ignore NotLeaderOrFollowerException. Local benchmark result: ``` ./jmh-benchmarks/jmh.sh ReplicaFetcherThreadBenchmark running gradlew :jmh-benchmarks:clean :jmh-benchmarks:shadowJar > Configure project : Starting build with...