Hi Team, i am not sure this is the right channel t...
# troubleshoot
c
Hi Team, i am not sure this is the right channel to ask. https://datahubproject.io/docs/how/kafka-config#configuring-topic-names is there a way to configure topics name other than these topics? our organization has naming rule for the kafka topics
Copy code
datahub-gms

    METADATA_CHANGE_EVENT_NAME: The name of the metadata change event topic.
    METADATA_AUDIT_EVENT_NAME: The name of the metadata audit event topic.
    FAILED_METADATA_CHANGE_EVENT_NAME: The name of the failed metadata change event topic.

datahub-mce-consumer

    KAFKA_MCE_TOPIC_NAME: The name of the metadata change event topic.
    KAFKA_FMCE_TOPIC_NAME: The name of the failed metadata change event topic.

datahub-mae-consumer

    KAFKA_TOPIC_NAME: The name of the metadata audit event topic.
it causing error on this topics name. or maybe there is a way to ignore the error?
Copy code
Caused by: org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [MetadataChangeProposal_v1]
o
Looks like that one's just not marked in the docs, it's configurable 🙂
METADATA_CHANGE_PROPOSAL_TOPIC_NAME
https://github.com/linkedin/datahub/blob/master/metadata-service/factories/src/main/java/com/linkedin/gms/factory/common/TopicConventionFactory.java#L29
c
Thank you @orange-night-91387 let me try. I assume other topics are configurable too, right?
e
Hey Farid. Yes! Unfortunately, there are a few env that you needt o set. Here is the full list
Copy code
- name: METADATA_CHANGE_EVENT_NAME
              value: {{ .metadata_change_event_name }}
            - name: FAILED_METADATA_CHANGE_EVENT_NAME
              value: {{ .failed_metadata_change_event_name }}
            - name: METADATA_AUDIT_EVENT_NAME
              value: {{ .metadata_audit_event_name }}
            - name: KAFKA_TOPIC_NAME
              value: {{ .metadata_audit_event_name }}
            - name: KAFKA_MCE_TOPIC_NAME
              value: {{ .metadata_change_event_name }}
            - name: KAFKA_FMCE_TOPIC_NAME
              value: {{ .failed_metadata_change_event_name }}
            - name: DATAHUB_USAGE_EVENT_NAME
              value: {{ .datahub_usage_event_name }}
            - name: METADATA_CHANGE_PROPOSAL_TOPIC_NAME
              value: {{ .metadata_change_proposal_topic_name }}
            - name: FAILED_METADATA_CHANGE_PROPOSAL_TOPIC_NAME
              value: {{ .failed_metadata_change_proposal_topic_name }}
            - name: METADATA_CHANGE_LOG_VERSIONED_TOPIC_NAME
              value: {{ .metadata_change_log_versioned_topic_name }}
            - name: METADATA_CHANGE_LOG_TIMESERIES_TOPIC_NAME
              value: {{ .metadata_change_log_timeseries_topic_name }}
c
thank you @early-lamp-41924.