[
https://issues.apache.org/jira/browse/KAFKA-4738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15856683#comment-15856683
]
Matthias J. Sax commented on KAFKA-4738:
----------------------------------------
Maybe. But we should have a new JIRA for this case. It's better to have small
PRs to simplify review process.
\cc [~damianguy], [~guozhang] WDYT?
> Remove generic type of class ClientState
> ----------------------------------------
>
> Key: KAFKA-4738
> URL: https://issues.apache.org/jira/browse/KAFKA-4738
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Matthias J. Sax
> Assignee: Sharad
> Priority: Minor
> Labels: beginner, newbie
>
> Currently, class
> {{org.apache.kafka.streams.processor.internals.assignment.ClientState<T>}}
> uses a generic type. However, within actual Streams code base the type will
> always be {{TaskId}} (from package {{org.apache.kafka.streams.processor}}).
> Thus, this ticket is about removing the generic type and replace it with
> {{TaskId}}, to simplify the code base.
> There are some tests, that use {{ClientState<Integer>}} (what allows for a
> slightly simplified test setup). Those tests need to be updated to work
> properly using {{TaskId}} instead of {{Integer}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)