kafka-python
High-level Clients
Command Line Interface
API
kafka
kafka.net
other / misc
ClusterMetadata
TopicPartition
OffsetAndMetadata
OffsetSpec
IsolationLevel
Serializer
ConsumerRebalanceListener
Partitioner
Partitioner
Partitioner.partition()
Install
Tests
Compatibility
Supported KIPs
Support
License
Upgrading to 3.0
Changelog
kafka-python
kafka-python API
Partitioner
View page source
Partitioner
class
kafka.partitioner.
Partitioner
[source]
abstract
partition
(
topic
,
key
,
serialized_key
,
value
,
serialized_value
,
cluster
)
[source]