Liking cljdoc? Tell your friends :D

kafkakit.component.producer


create-producer-recordclj

(create-producer-record topic k v registry)

make-producerclj

(make-producer config)

make-producer-configclj

(make-producer-config config)

producerclj

(producer config)

Publishercljprotocol

publish!!clj

(publish!! component topic k v)

Publishes synchronously, blocking until the write is acknowledged. Params: component: The component. topic: Topic name for the event. Ex: "audiences" k: Kafka message key. v: Kafka message value.

Publishes synchronously, blocking until the write is acknowledged.
Params:
  component:  The component.
  topic:      Topic name for the event. Ex: "audiences"
  k:          Kafka message key.
  v:          Kafka message value.

publish-async!!clj

(publish-async!! component topic k v)

Publishes asynchronously, non-blocking on write. Returns Future of RecordMetadata that can optionally be polled for (blocks if done). Params: component: The component. topic: Topic name for the event. Ex: "audiences" k: Kafka message key. v: Kafka message value.

Publishes asynchronously, non-blocking on write.
Returns Future of RecordMetadata that can optionally be polled for (blocks if done).
Params:
  component:  The component.
  topic:      Topic name for the event. Ex: "audiences"
  k:          Kafka message key.
  v:          Kafka message value.

send!!clj

(send!! component topic k v async?)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close