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

Ensure JAVA_OPTS env var is correct on dbz server startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.3.0.Alpha2
    • None
    • debezium-server
    • None

      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:
       
      Tiny fix to ensure that JAVA_OPTS env var for debezium server is set correctly when enabling JMX but when jmxremote.access/jmxremote.password are absent

      What Debezium connector do you use and what version?

      Debezium server + bq (mysql connector + bg connetor) 3.1.3Final

      What is the connector configuration?

      n/a

      What is the captured database version and mode of deployment?

      n/a

      What behavior do you expect?

      When jmxremote.access/jmxremote.password are absent, because you may not want access details to be set, JAVA_OPTS has a bug where by disabling remote access is not set correctly because there is a typo in the script which sets this option.

      What behavior do you see?

      see aboce

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

      (Ideally, also verify with latest Alpha/Beta/CR version)

      yes

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

      (You might be asked later to provide DEBUG/TRACE level log)

      n/a

      How to reproduce the issue using our tutorial deployment?

      set the ENV vars to enable JMX, eg ```

      ENV JMX_HOST=0.0.0.0
      ENV JMX_PORT=9303
      ENV JMX_EXPORTER_PORT=9404

      ```

      Feature request or enhancement

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

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

      n/a

      Implementation ideas (optional)

      https://github.com/debezium/debezium-server/pull/204

              Unassigned Unassigned
              luke.alexander@mixcloud.com Luke Alexander
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: