KafkaBatcher.ConnectionManager (kafka_batcher v1.0.1)

Abstraction layer over Kafka library.

Manages a connection to Kafka, producers processes and does reconnect if something goes wrong.

Summary

Functions

Returns a specification to start this module under a supervisor

Checks that Kafka client is already started

Functions

Link to this function

child_spec(init_arg)

@spec child_spec(nil) :: map()

Returns a specification to start this module under a supervisor

Link to this function

client_started?()

@spec client_started?() :: boolean()

Checks that Kafka client is already started

@spec start_link() :: :ignore | {:error, any()} | {:ok, pid()}