constants
topic_name ¶
topic_name(partition_id, replay_id=None)
Construct a Kafka topic name for a given partition.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
partition_id
|
str
|
The partition identifier. |
required |
replay_id
|
str
|
If set, returns a replay-namespaced topic. |
None
|
Returns:
| Type | Description |
|---|---|
str
|
The topic name. |
Source code in arrakis/constants.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | |