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

Integer-valued configuration keys give errors without explicit casts #311

Open
IGJoshua opened this issue Dec 2, 2021 · 0 comments
Open

Comments

@IGJoshua
Copy link

IGJoshua commented Dec 2, 2021

When constructing consumers, producers, or any other jackdaw kafka client with a configuration map that requires an integer value for some key, Kafka will throw an exception if it's represented with a java.lang.Long, which of course is the default for Clojure numbers.

It would be really nice if jackdaw would watch out for this and automatically convert things to integers to allow reading the config from e.g. edn without needing to perform a lot of transformations on it manually.

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

No branches or pull requests

1 participant