Skip to content

GH-3942: Fix Race in Kafka OB Gateway #3943

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

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

garyrussell
Copy link
Contributor

Resolves #3942

When determining the default reply-to topic/partition, we need to wait for assignment.

Already covered by KafkaDslTests (a recent build failure exposed this problem).

No back-port - 5.5.x uses 2.7.x by default, which does not support this.

5.5.x users can call waitForAssignment on the ReplyingKafkaTemplate that is supplied to the gateways before sending messages.

Resolves spring-projects#3942

When determining the default reply-to topic/partition, we need to wait for assignment.

Already covered by `KafkaDslTests` (a recent build failure exposed this problem).

**No back-port - 5.5.x uses 2.7.x by default, which does not support this.**

5.5.x users can call `waitForAssignment` on the `ReplyingKafkaTemplate` that is
supplied to the gateways before sending messages.
@artembilan artembilan merged commit e19e6d4 into spring-projects:main Nov 15, 2022
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.

Kafka OB Gateway Wait For Assignment
2 participants