deephaven.stream.kafka¶
The kafka module provides the utilities to both consume and produce Kakfa streams.
- topics(kafka_config)[source]¶
Returns a list of topic names available from Kafka.
- Parameters:
kafka_config (Dict) – configuration for the associated Kafka consumer. The content is used to call the constructor of org.apache.kafka.clients.Admin; pass any Admin specific desired configuration here
- Return type:
List
[str
]- Returns:
a list of topic names
- Raises:
DHError –