Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8476

Debezium UI connector metrics has "mysql" hardcoded, does not work for postgres

XMLWordPrintable

    • False
    • None
    • False
    • Important

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      Postgres with Debezium 3.0

      Debezium UI 3.0.3 

      What is the connector configuration?

      <Your answer>

      What is the captured database version and mode of deployment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      on-premise with Kafka connect

      What behavior do you expect?

      Debezium UI should work properly.

      What behavior do you see?

      Debezium UI says "Something went wrong" in "Essential connector metrics". See screenshot

      In the browser network tab I see it is trying to reach
      <kafka-connect-instance>/debezium/mysql/connectors/connector-meloncrisp2/metrics

      It should not be trying to use mysql. because I am using postgres.

      I see in the code that it is "mysql" is hardcoded in ConnectorDetails.tsx. 

      https://github.com/debezium/debezium-ui/blob/eece94920ed105d211f5c5a8d463b2166fb2328f/src/app/pages/connectorDetails/ConnectorDetails.tsx#L136

      If I change that to "postgres" then the UI works.

      Do you see the same behaviour using the latest released Debezium version?

      yes

      Do you have the connector logs, ideally from start till finish?

      yes

      How to reproduce the issue using our tutorial deployment?

      <Your answer>

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      <Your answer>

              ishukla Indra Shukla
              pratik_d Pratik Datta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: