Skip to content

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

Description

@IGJoshua

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions