You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2021/03/05 17:52:00 UTC
[jira] [Created] (KAFKA-12433) Controller should create topic
config records after topic record
Jason Gustafson created KAFKA-12433:
---------------------------------------
Summary: Controller should create topic config records after topic record
Key: KAFKA-12433
URL: https://issues.apache.org/jira/browse/KAFKA-12433
Project: Kafka
Issue Type: Improvement
Reporter: Jason Gustafson
Assignee: Jason Gustafson
When creating a topic, the controller emits a topic record, config records, and partition records. These are all created in one atomic batch, so there is no concern about partial state. The current order that the records appear is:
1. ConfigRecord(s)
2. TopicRecord
3. PartitionRecord(s)
I think it would be more intuitive if the ConfigRecords are written after the TopicRecord. This makes validation simpler when reading the data since it is not necessary to read ahead to find the corresponding TopicRecord.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)