Daeho Kim created KAFKA-15088:
---------------------------------

             Summary: Fixing Incorrect Reference Usage in Connector State 
Changes
                 Key: KAFKA-15088
                 URL: https://issues.apache.org/jira/browse/KAFKA-15088
             Project: Kafka
          Issue Type: Bug
          Components: KafkaConnect
            Reporter: Daeho Kim


Currently, in the AbstractHerder class, the behavior of state changes for 
Connectors and Tasks is handled by implementing Listener using the 
ConnectorStatus and TaskStatus classes, which inherit from AbstractStatus. 
However, the code implementing the state change behavior in ConnectorStatus 
refers to and uses an inappropriate State enum class.

Both ConnectorStatus and TaskStatus inherit and implement AbstractStatus, and 
as a result, they share the State class. However, there is a need to make 
modifications for clear referencing. We need to fix the implementation in 
ConnectorStatus to use the appropriate reference for state changes.

This bug ticket will address the task of modifying the code to use the correct 
reference for Connector state changes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to