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

Remove snappyer from default dependency #547

Merged
merged 5 commits into from
Jun 26, 2024

Conversation

belltoy
Copy link
Contributor

@belltoy belltoy commented Jan 4, 2023

The snappy support is optional and configurable after kafka_protocol 4.0 in #459, so it should not be a default dependency. Besides, making it default will prevent users from excluding it.

This is a breaking change. Users using producers and/or consumers with compression enabled must explicitly add a compression application/module.

@belltoy
Copy link
Contributor Author

belltoy commented Jan 4, 2023

BTW, why is there a rebar.lock file in this repo?

@zmstone
Copy link
Contributor

zmstone commented Mar 7, 2024

Hi @belltoy
Thank you for the PR. and sorry for the embarrassingly late respond.
Now it needs a rebase.

@belltoy
Copy link
Contributor Author

belltoy commented Mar 8, 2024

Rebased onto the latest master branch.

Changes:

  • Remove snappyer dependency but keep it for brod-cli and test profiles.
  • Fix [docopt-erl](https://github.com/zmstone/docopt-erl) dependency

@zmstone
Copy link
Contributor

zmstone commented Mar 8, 2024

Thank you @belltoy will release a major version soon.

@belltoy
Copy link
Contributor Author

belltoy commented Mar 9, 2024

Thanks, Stone.

@kivra-pauoli
Copy link
Contributor

+1 for this. I'm trying to compile on OTP 27 and snappyer isn't happy. Also: zmstone/snappyer#10. It'd be a good compromise to allow not using snappyer (thus not affecting CI) while it doesn't get OTP 27 support.

@zmstone zmstone merged commit 636e448 into kafka4beam:master Jun 26, 2024
14 checks passed
@zmstone
Copy link
Contributor

zmstone commented Jun 26, 2024

released 4.0.0

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.

4 participants