kafka_ex v0.11.0 KafkaEx.New.NodeSelector View Source
Defines node selector functions and macros
Link to this section Summary
Functions
Select the controller for the given consumer group
Select the cluster's controller node
Select first available node
Select a specific node
Select a random node
Select the controller for the given topic and partition
Link to this section Types
Link to this section Functions
Link to this function
consumer_group(consumer_group_name)
View Sourceconsumer_group(KafkaEx.New.KafkaExAPI.consumer_group_name()) :: t()
Select the controller for the given consumer group
Select the cluster's controller node
Select first available node
Select a specific node
Select a random node
Link to this function
topic_partition(topic, partition)
View Sourcetopic_partition( KafkaEx.New.KafkaExAPI.topic_name(), KafkaEx.New.KafkaExAPI.partition_id() ) :: t()
Select the controller for the given topic and partition