[ 
https://issues.apache.org/jira/browse/KAFKA-18697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923620#comment-17923620
 ] 

Ismael Juma commented on KAFKA-18697:
-------------------------------------

Records are not dissimilar to normal classes - you also can't 
add/delete/reorder constructor parameters of normal classes. Adding a new field 
to a record involves adding a constructor overload that sets a default for the 
field that has not been received. Right?

> Migrate suitable classes to records in connect module
> -----------------------------------------------------
>
>                 Key: KAFKA-18697
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18697
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: 黃竣陽
>            Assignee: Mingdao Yang
>            Priority: Minor
>
> We should change these class to Record
> OffsetSync, PluginSource, ConnectClusterDetailsImpl, TaskInfo, Message, 
> LoggerLevel, ErrorMessage, CreateConnectorRequest, ConnectorStateInfo, 
> ConnectorOffsets, ConnectorOffset, ConnectorInfo, ConfigValueInfo, 
> ConfigKeyInfo, ConfigInfo, ActiveTopicsInfo, ConnectRestExtensionContextImpl, 
> RestartRequest, ConnectorTaskId



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

Reply via email to