Lucy Liu created KAFKA-20905:
--------------------------------
Summary: Remove deprecated headerless StreamPartitioner#partitions
method
Key: KAFKA-20905
URL: https://issues.apache.org/jira/browse/KAFKA-20905
Project: Kafka
Issue Type: Sub-task
Components: streams
Affects Versions: 5.0.0
Reporter: Lucy Liu
Fix For: 5.0.0
h1. THIS TICKET CANNOT BE WORKED ON, UNTIL WE DO APACHE KAFKA 5.0 RELEASE.
[KIP-1321
|https://cwiki.apache.org/confluence/spaces/KAFKA/pages/421956773/KIP-1321+Headers+aware+StreamPartitioner#KIP1321:HeadersawareStreamPartitioner-PublicInterfacesdeprecated
`StreamPartitioner#partitions(String topic, K key, V value, int
numPartitions)` in favor of `partitions(String topic, K key, V value, Headers
headers, int
numPartitions)`, which gives partitioning strategies access to record headers.
Built-in partitioners already throw UnsupportedOperationException if the
deprecated overload is
invoked. This subtask tracks removing the deprecated overload in 5.0.0
--
This message was sent by Atlassian Jira
(v8.20.10#820010)