(kafka-consumer-config this)
Returns map with any keys from org.apache.kafka.clients.consumer.ConsumerConfig. ConsumerConfig/GROUP_ID_CONFIG key is required.
Example: {ConsumerConfig/GROUP_ID_CONFIG "some-group-id" ConsumerConfig/AUTO_OFFSET_RESET_CONFIG "latest"}
Or strings as keys: {"group.id" "some-group-id" "max.poll.records" 100}
See defaults in KAFKA_CONSUMER_CONFIG_DEFAULTS.
Returns map with any keys from org.apache.kafka.clients.consumer.ConsumerConfig. ConsumerConfig/GROUP_ID_CONFIG key is required. Example: {ConsumerConfig/GROUP_ID_CONFIG "some-group-id" ConsumerConfig/AUTO_OFFSET_RESET_CONFIG "latest"} Or strings as keys: {"group.id" "some-group-id" "max.poll.records" 100} See defaults in KAFKA_CONSUMER_CONFIG_DEFAULTS.
Optional configuration protocol
Optional configuration protocol
(optional-config this)
Returns map with any of keys:
:value-format - available formats to decode record value from (:json), no decoding if nil :poll-timeout-ms - kafka poll timeout :min-commit-interval-ms - minimal interval between commits
Example: {:poll-timeout-ms 1000 :value-format nil}
See defaults in OPTIONAL_CONFIG_DEFAULTS
Returns map with any of keys: :value-format - available formats to decode record value from (:json), no decoding if nil :poll-timeout-ms - kafka poll timeout :min-commit-interval-ms - minimal interval between commits Example: {:poll-timeout-ms 1000 :value-format nil} See defaults in OPTIONAL_CONFIG_DEFAULTS
(topics this)
List of topics (one or more) to subscribe.
Example: ["topic1" "topic2"]
List of topics (one or more) to subscribe. Example: ["topic1" "topic2"]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close