Skip to content

Conversation

@robambalu
Copy link
Collaborator

  • Major chagne is to allow multiple consumers / consumer threads to service the same topic
  • Each consumer can now get assigned a subset of partitions for a topic. Consumers need to keep track of their own partitions
  • Since we dont know which keys are on which partition, the subscriber map is moved from Consumer to AdapterManager which will have the full set of subscribers for a given topic
  • Removed complexity of not subscribing to Rebalance events if not using start offset, always sub and wait for EOF even if not using start offset
  • exposed kafka consumer and producer specific config options

@ptomecek
Copy link
Collaborator

Should we get #8 over the line so we can include the Kafka tests as part of CI?
I think it was mostly ready to go except for the one test with a race condition which had just been disabled.

@robambalu
Copy link
Collaborator Author

Should we get #8 over the line so we can include the Kafka tests as part of CI? I think it was mostly ready to go except for the one test with a race condition which had just been disabled.

Yes absolutely, I didnt even realize the kafka test was completely disabled. Its heavily relied upon and should be tested

@timkpaine timkpaine added type: enhancement Issues and PRs related to improvements to existing features adapter: kafka Issues and PRs related to the Apache Kafka adapter labels Nov 28, 2025
@robambalu robambalu force-pushed the rba/kafka_optim branch 3 times, most recently from 3b949a9 to e7fb0ce Compare December 1, 2025 15:48
@robambalu robambalu requested a review from NeejWeej December 1, 2025 16:25
NeejWeej
NeejWeej previously approved these changes Dec 1, 2025
- Major change is to allow multiple consumers / consumer threads to service the same topic
- Each consumer can now get assigned a subset of partitions for a topic.  Consumers need to keep track of their own partitions
- Since we dont know which keys are on which partition, the subscriber map is moved from Consumer to AdapterManager which will have the full set of subscribers for a given topic
- Removed complexity of not subscribing to Rebalance events if not using start offset, always sub and wait for EOF even if not using start offset
- exposed kafka consumer and producer specific config options

Signed-off-by: Rob Ambalu <robert.ambalu@point72.com>
AdamGlustein
AdamGlustein previously approved these changes Dec 3, 2025
@robambalu robambalu merged commit 4224d1d into main Dec 3, 2025
25 checks passed
@robambalu robambalu deleted the rba/kafka_optim branch December 3, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adapter: kafka Issues and PRs related to the Apache Kafka adapter type: enhancement Issues and PRs related to improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants