kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-4738) Remove generic type of class ClientState
Date Mon, 06 Feb 2017 19:57:41 GMT
Matthias J. Sax created KAFKA-4738:
--------------------------------------

             Summary: 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
            Priority: Minor


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)

Mime
View raw message