RigKafka (Reactive Interaction Gateway v3.0.0-alpha.2) View Source

Kafka client for RIG.

Basically wrapping :brod, tailored to our needs.

Link to this section Summary

Link to this section Functions

Link to this function

produce(config, topic, schema, key, plaintext)

View Source

See RigKafka.Client.produce/5.

Link to this function

produce(config, topic, schema, key, plaintext, headers)

View Source

Specs

produce(RigKafka.Config.t(), topic(), schema(), key(), plaintext(), headers()) ::
  :ok

See RigKafka.Client.produce/6.

Link to this function

start(config, callback \\ nil)

View Source

Specs

start(RigKafka.Config.t(), RigKafka.Client.callback() | nil) ::
  {:ok, pid()} | :ignore | {:error, any()}

See RigKafka.Client.start_supervised/2.