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

Kafka connection configuration.

Link to this section Summary

Link to this section Types

Specs

broker() :: {host :: String.t(), port :: pos_integer()}

Specs

sasl_config() :: {:plain, username :: String.t(), password :: String.t()}

Specs

ssl_config() :: %{
  path_to_key_pem: String.t(),
  key_password: String.t(),
  path_to_cert_pem: String.t(),
  path_to_ca_cert_pem: String.t()
}

Specs

t() :: %{
  brokers: [broker()],
  consumer_topics: [topic()],
  server_id: atom(),
  client_id: atom(),
  group_id: String.t(),
  ssl: nil | ssl_config(),
  sasl: nil | sasl_config()
}

Specs

topic() :: String.t()

Link to this section Functions