Liking cljdoc? Tell your friends :D

fr33m0nk.alpakka-kafka.producer

Akka Stream connector for publishing messages to Kafka topics

Akka Stream connector for publishing messages to Kafka topics
raw docstring

->producer-recordclj

(->producer-record topic value)
(->producer-record topic value key)
(->producer-record topic value key partition-number)
(->producer-record topic value key partition-number timestamp-as-long headers)

creates a producer record which can be used later for publishing

creates a producer record which can be used later for publishing
sourceraw docstring

->send-producerclj

(->send-producer producer-settings actor-system)

Utility Kafka Producer for producing to Kafka without using Akka Streams. https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/SendProducer.html

Utility Kafka Producer for producing to Kafka without using Akka Streams.
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/SendProducer.html
sourceraw docstring

close-send-producerclj

(close-send-producer send-producer)
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/SendProducer.html#close():java.util.concurrent.CompletionStage[akka.Done]
sourceraw docstring

committable-sinkclj

(committable-sink producer-settings committer-settings)

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#committableSinkK,V,IN%3C:akka.kafka.ProducerMessage.Envelope[K,V,akka.kafka.ConsumerMessage.Committable]:akka.stream.javadsl.Sink[IN,java.util.concurrent.CompletionStage[akka.Done]]

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#committableSink[K,V,IN%3C:akka.kafka.ProducerMessage.Envelope[K,V,akka.kafka.ConsumerMessage.Committable]](producerSettings:akka.kafka.ProducerSettings[K,V],committerSettings:akka.kafka.CommitterSettings):akka.stream.javadsl.Sink[IN,java.util.concurrent.CompletionStage[akka.Done]]
sourceraw docstring

committable-sink-with-offset-contextclj

(committable-sink-with-offset-context producer-settings committer-settings)

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#committableSinkWithOffsetContextK,V,IN%3C:akka.kafka.ProducerMessage.Envelope[K,V,_],C%3C:akka.kafka.ConsumerMessage.Committable:akka.stream.javadsl.Sink[akka.japi.Pair[IN,C],java.util.concurrent.CompletionStage[akka.Done]]

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#committableSinkWithOffsetContext[K,V,IN%3C:akka.kafka.ProducerMessage.Envelope[K,V,_],C%3C:akka.kafka.ConsumerMessage.Committable](producerSettings:akka.kafka.ProducerSettings[K,V],committerSettings:akka.kafka.CommitterSettings):akka.stream.javadsl.Sink[akka.japi.Pair[IN,C],java.util.concurrent.CompletionStage[akka.Done]]
sourceraw docstring

flexi-flowclj

(flexi-flow producer-settings)

Akka Stream connector for publishing messages to Kafka topics. https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#flexiFlowK,V,PassThrough:akka.stream.javadsl.Flow[akka.kafka.ProducerMessage.Envelope[K,V,PassThrough],akka.kafka.ProducerMessage.Results[K,V,PassThrough],akka.NotUsed]

Akka Stream connector for publishing messages to Kafka topics.
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#flexiFlow[K,V,PassThrough](settings:akka.kafka.ProducerSettings[K,V]):akka.stream.javadsl.Flow[akka.kafka.ProducerMessage.Envelope[K,V,PassThrough],akka.kafka.ProducerMessage.Results[K,V,PassThrough],akka.NotUsed]
sourceraw docstring

flow-with-contextclj

(flow-with-context producer-settings)

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#flowWithContextK,V,C:akka.stream.javadsl.FlowWithContext[akka.kafka.ProducerMessage.Envelope[K,V,akka.NotUsed],C,akka.kafka.ProducerMessage.Results[K,V,C],C,akka.NotUsed]

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#flowWithContext[K,V,C](settings:akka.kafka.ProducerSettings[K,V]):akka.stream.javadsl.FlowWithContext[akka.kafka.ProducerMessage.Envelope[K,V,akka.NotUsed],C,akka.kafka.ProducerMessage.Results[K,V,C],C,akka.NotUsed]
sourceraw docstring

IProducerMessagecljprotocol

PassThroughMessage does not publish anything, and continues in the stream as PassThroughResult

PassThroughMessage does not publish anything, and continues in the stream as PassThroughResult

producer-message-passthroughclj

(producer-message-passthrough this)
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerMessage$$Envelope.html#passThrough:PassThrough

producer-message-with-passthroughclj

(producer-message-with-passthrough this passthrough)
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerMessage$$Envelope.html#withPassThrough[PassThrough2](value:PassThrough2):akka.kafka.ProducerMessage.Envelope[K,V,PassThrough2]
sourceraw docstring

multi-producer-message-envelopeclj

(multi-producer-message-envelope message-offset producer-records)

MultiMessage publishes all messages in its records field, and continues in the stream as MultiResult https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerMessage$$MultiMessage.html

MultiMessage publishes all messages in its records field, and continues in the stream as MultiResult
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerMessage$$MultiMessage.html
sourceraw docstring

plain-sinkclj

(plain-sink producer-settings)

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#plainSinkK,V:akka.stream.javadsl.Sink[org.apache.kafka.clients.producer.ProducerRecord[K,V],java.util.concurrent.CompletionStage[akka.Done]]

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/Producer$.html#plainSink[K,V](settings:akka.kafka.ProducerSettings[K,V]):akka.stream.javadsl.Sink[org.apache.kafka.clients.producer.ProducerRecord[K,V],java.util.concurrent.CompletionStage[akka.Done]]
sourceraw docstring

producer-settingsclj

(producer-settings actor-system
                   {:keys [key-serializer value-serializer bootstrap-servers]
                    :as producer-properties})

Settings for producers. See akka.kafka.producer section in reference.conf https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerSettings.html

  • Expects producer-properties to be supplied with kebab-case-keyword keys Full config list can be found in org.apache.kafka.clients.producer.ProducerConfig
Settings for producers. See akka.kafka.producer section in reference.conf
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerSettings.html
- Expects producer-properties to be supplied with kebab-case-keyword keys
  Full config list can be found in org.apache.kafka.clients.producer.ProducerConfig
sourceraw docstring

publish-via-send-producerclj

(publish-via-send-producer send-producer producer-record)

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/SendProducer.html#send(record:org.apache.kafka.clients.producer.ProducerRecord[K,V]):java.util.concurrent.CompletionStage[org.apache.kafka.clients.producer.RecordMetadata]

https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/javadsl/SendProducer.html#send(record:org.apache.kafka.clients.producer.ProducerRecord[K,V]):java.util.concurrent.CompletionStage[org.apache.kafka.clients.producer.RecordMetadata]
sourceraw docstring

single-producer-message-envelopeclj

(single-producer-message-envelope message-offset producer-record)

Message publishes a single message to its topic, and continues in the stream as Result https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerMessage$$Message.html

Message publishes a single message to its topic, and continues in the stream as Result
https://doc.akka.io/api/alpakka-kafka/4.0.2/akka/kafka/ProducerMessage$$Message.html
sourceraw docstring

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

× close