jiafu1115 commented on code in PR #20822:
URL: https://github.com/apache/kafka/pull/20822#discussion_r2493757521
##########
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:
@AndrewJSchofield @chia7712 I agree. I just created this PR as an example to
show what the code changes would look like if we decided to proceed. I think we
can leave it here for future discussion: It involve how we define the internal
topic: not allow to see or not allow to be write by standard producer.
Thanks
--
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]