Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kafka: add upstream-kafka-consumer #24431

Merged
merged 7 commits into from
Dec 11, 2022

Conversation

adamkotwasinski
Copy link
Contributor

Commit Message: kafka: add upstream-kafka-consumer
Additional Description: Add the upstream Kafka consumer (analogous to already existing upstream Kafka producer). As it is performing blocking operations (consume) it needs to run in a dedicated worker thread to consume the records. Compared to the producer it is a bit more complex, as it does not always need to consume the records - first it needs to check whether there is anyone interested in these topics (== if there are unfinished Fetch requests received by the mesh filter). Part of #24372.
Risk Level: Low
Testing: unit tests, integration tests with full stack
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #24431 was opened by adamkotwasinski.

see: more, trace.

@adamkotwasinski adamkotwasinski changed the title kafka: add upstream-kafka-consumer [DRAFT] kafka: add upstream-kafka-consumer Dec 7, 2022
@adamkotwasinski adamkotwasinski force-pushed the kafka-contrib-2 branch 3 times, most recently from 166c42c to ae460fd Compare December 9, 2022 01:26
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
@adamkotwasinski adamkotwasinski force-pushed the kafka-contrib-2 branch 5 times, most recently from 76e8676 to 3d6034f Compare December 9, 2022 23:17
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
@adamkotwasinski adamkotwasinski force-pushed the kafka-contrib-2 branch 2 times, most recently from d28f3b6 to e133335 Compare December 10, 2022 01:08
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
@adamkotwasinski adamkotwasinski changed the title [DRAFT] kafka: add upstream-kafka-consumer kafka: add upstream-kafka-consumer Dec 11, 2022
@adamkotwasinski adamkotwasinski marked this pull request as ready for review December 11, 2022 05:29
@adamkotwasinski
Copy link
Contributor Author

/assign @mattklein123

Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
@mattklein123 mattklein123 merged commit ad78179 into envoyproxy:main Dec 11, 2022
@adamkotwasinski
Copy link
Contributor Author

Thank you!

@adamkotwasinski adamkotwasinski deleted the kafka-contrib-2 branch December 11, 2022 23:03
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 1, 2023
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 1, 2023
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit that referenced this pull request Jun 2, 2023
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit that referenced this pull request Jun 2, 2023
Signed-off-by: Adam Kotwasinski <adam.kotwasinski@gmail.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
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.

None yet

2 participants