ReservedInternalTopics¶
Creating Instance¶
ReservedInternalTopics takes the following to be created:
ReservedInternalTopics is created mainly alongside a KsqlServerEndpoints and a DistributingExecutor but also when:
InsertValuesExecutoris requested togetDataSourceListTopicsExecutoris requested tolistTopics
Internal ksqlDB Topics¶
Command Topic¶
String commandTopic(
KsqlConfig ksqlConfig)
commandTopic builds the name of a ksqlDB internal topic with command_topic topic suffix:
_confluent-ksql-[ksql.service.id]_command_topic
commandTopic is used when:
HealthCheckAgent.KafkaBrokerCheckis requested tocheckKsqlRestApplicationutility is used to build a KsqlRestApplication (and creates a CommandStore)KsqlRestoreCommandTopicis created
Configs Topic¶
String configsTopic(
KsqlConfig ksqlConfig)
configsTopic builds the name of a ksqlDB internal topic with configs topic suffix:
_confluent-ksql-[ksql.service.id]_configs
configsTopic is used when:
StandaloneExecutorFactoryutility is used to create a StandaloneExecutor
toKsqlInternalTopic¶
String toKsqlInternalTopic(
KsqlConfig ksqlConfig,
String topicSuffix)
toKsqlInternalTopic builds a name (of a ksqlDB internal topic) in the following format (based on the ksql.service.id in the given KsqlConfig and the given topicSuffix):
_confluent-ksql-[ksql.service.id]_[topicSuffix]
toKsqlInternalTopic is used when:
ReservedInternalTopicsutility is used for commandTopic and configsTopic