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

chore(deps): bump sarama to v1.41.1 #3109

Merged
merged 1 commit into from
Aug 30, 2023
Merged

chore(deps): bump sarama to v1.41.1 #3109

merged 1 commit into from
Aug 30, 2023

Conversation

dnwe
Copy link
Contributor

@dnwe dnwe commented Aug 30, 2023

Description

Pulling in fix(client): force Event Hubs to use V1_0_0_0 by @dnwe in IBM/sarama#2633

This should avoid dapr hitting any issues with Azure Event Hubs users who might not have followed the instructions in dapr/docs#3474 to pin their version number.

A small number of other changes are included in the release, but nothing I'd deem to be any additional risk over the existing upgrade to v1.41.0:
https://github.com/IBM/sarama/releases/tag/v1.41.1

Issue reference

Fixes #3104

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@dnwe dnwe requested review from a team as code owners August 30, 2023 12:19
@dnwe dnwe mentioned this pull request Aug 30, 2023
3 tasks
Pulling in `fix(client): force Event Hubs to use V1_0_0_0` by @dnwe in
IBM/sarama#2633

This should avoid dapr hitting any issues with Azure Event Hubs users
who might not have followed the instructions in dapr/docs#3474 to pin
their version number.

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@berndverst
Copy link
Member

berndverst commented Aug 30, 2023

Oh very cool @dnwe - but will this actually work for us? We are setting a default protocol version of V2_0_0_0. Will this change override it regardless when EventHubs is in use?

I thought about adding a similar change myself to Dapr, but the fact you added it to sarama is even better.

I reached out to the EventHubs team last night by the way to see if they will ever increase their supported Kafka protocol versions :)

@dnwe
Copy link
Contributor Author

dnwe commented Aug 30, 2023

@berndverst yes this will cause Sarama to override the config for event hubs at connection time if it is outside the supported range, regardless of what is set in dapr

@berndverst berndverst merged commit 75ac751 into dapr:master Aug 30, 2023
@dnwe dnwe deleted the sarama branch August 31, 2023 00:46
@ItalyPaleAle ItalyPaleAle added this to the v1.12 milestone Sep 5, 2023
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.

Update Kafka sarama package to 1.41
3 participants