[
https://issues.apache.org/jira/browse/KAFKA-8703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sophie Blee-Goldman updated KAFKA-8703:
---------------------------------------
Description:
Currently the PartitionAssignor, which is meant to be a pluggable interface,
sits in the internal package. It should be part of the public API, so we are
deprecating the old consumer.internal.PartitionAssignor in favor of a new
consumer.ConsumerPartitionAssignor.
We also want to take the opportunity to refactor the interface a bit, so as to
achieve an easier to evolve API moving forward
Due to the way assignors are instantiated, moving to a new
ConsumerPartitionAssignor interface will be fully compatible for most users
except those who have implemented the internal.PartitionAssignor (see
KAFKA-8704)
was:
Currently the PartitionAssignor, which is meant to be a pluggable interface,
sits in the internal package. It should be part of the public API, so we are
deprecating the old consumer.internal.PartitionAssignor in favor of a new
consumer.PartitionAssignor.
We also want to take the opportunity to refactor the interface a bit, so as to
achieve
# Better separation of user/assignor and consumer provided metadata
# Easier to evolve API
Due to the way assignors are instantiated, moving to a new PartitionAssignor
interface will be fully compatible for most users except those who have
implemented the internal.PartitionAssignor (see KAFKA-8704)
> Move PartitionAssignor to public API
> ------------------------------------
>
> Key: KAFKA-8703
> URL: https://issues.apache.org/jira/browse/KAFKA-8703
> Project: Kafka
> Issue Type: Sub-task
> Components: clients
> Reporter: Sophie Blee-Goldman
> Assignee: Sophie Blee-Goldman
> Priority: Major
>
> Currently the PartitionAssignor, which is meant to be a pluggable interface,
> sits in the internal package. It should be part of the public API, so we are
> deprecating the old consumer.internal.PartitionAssignor in favor of a new
> consumer.ConsumerPartitionAssignor.
> We also want to take the opportunity to refactor the interface a bit, so as
> to achieve an easier to evolve API moving forward
> Due to the way assignors are instantiated, moving to a new
> ConsumerPartitionAssignor interface will be fully compatible for most users
> except those who have implemented the internal.PartitionAssignor (see
> KAFKA-8704)
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)