Skip to content

Conversation

@yaronthurm
Copy link

Adding support for running custom logic from within the consumer poll loop.
This can be useful in cases when we need to invoke functions on the underlying kafka consumer (e.g. pause), as the consumer has protection against concurrent invocations from different threads and will throw an exception.

Related to #13

Copy link
Member

@evg-tso evg-tso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the README is lacking, but please add the proposed :ketu.source/consumer-commands-chan field under the consumer-source-options section.
Consider adding a usage guide with this addition, what types of items are expected to be in the channel, etc.

@yaronthurm yaronthurm force-pushed the support-custom-commands branch from a27a162 to 356d01f Compare December 29, 2022 22:01
@yaronthurm yaronthurm force-pushed the support-custom-commands branch 3 times, most recently from e307ff6 to 313c38c Compare January 11, 2023 12:37
@yaronthurm yaronthurm force-pushed the support-custom-commands branch from 313c38c to a6ab055 Compare January 11, 2023 12:39
@yaronthurm yaronthurm requested a review from evg-tso January 17, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants