chia7712 commented on code in PR #20822:
URL: https://github.com/apache/kafka/pull/20822#discussion_r2493537684


##########
clients/src/main/java/org/apache/kafka/common/internals/Topic.java:
##########
@@ -28,13 +28,14 @@ public class Topic {
     public static final String TRANSACTION_STATE_TOPIC_NAME = 
"__transaction_state";
     public static final String SHARE_GROUP_STATE_TOPIC_NAME = 
"__share_group_state";
     public static final String CLUSTER_METADATA_TOPIC_NAME = 
"__cluster_metadata";
+    public static final String REMOTE_LOG_METADATA_TOPIC_NAME = 
"__remote_log_metadata";
     public static final TopicPartition CLUSTER_METADATA_TOPIC_PARTITION = new 
TopicPartition(
         CLUSTER_METADATA_TOPIC_NAME,
         0
     );
     public static final String LEGAL_CHARS = "[a-zA-Z0-9._-]";
 
-    private static final Set<String> INTERNAL_TOPICS = 
Set.of(GROUP_METADATA_TOPIC_NAME, TRANSACTION_STATE_TOPIC_NAME, 
SHARE_GROUP_STATE_TOPIC_NAME);
+    private static final Set<String> INTERNAL_TOPICS = 
Set.of(GROUP_METADATA_TOPIC_NAME, TRANSACTION_STATE_TOPIC_NAME, 
SHARE_GROUP_STATE_TOPIC_NAME, REMOTE_LOG_METADATA_TOPIC_NAME);

Review Comment:
   I believe `internal topics` are those fundamental to kafka's core and are 
handled uniquely, not via standard producer/consumer logic. Therefore, 
`REMOTE_LOG_METADATA_TOPIC_NAME` is similar to connector topics rather than an 
internal topic
   
   @AndrewJSchofield @jiafu1115 WDYT?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to