View Source Klife.Topic (Klife v0.5.0)
Defines a topic configuration.
For now this struct is only useful for initial client configuration, but in the future it may be useful for the admin api as well.
Client configurations
:name
(String.t/0
) - Required. Topic's name:default_producer
(atom/0
) - Define the default producer to be used on produce API calls.:default_partitioner
(atom/0
) - Define the default partitioner module to be used on produce API calls. Must implementKlife.Behaviours.Partitioner