Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26142

Cannot use env variables in Kafka connector

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Tools (J)
    • Support backlog

      In case of env variables in the configuration file:

      Connector.LogLevel=${ZBX_CONNECTOR_LOGLEVEL}
      

      the connector crashes with the following error:

      kafka-connector [1]: ERROR: failed to load the configuration: Cannot assign configuration: invalid parameter Connector.LogLevel at line 57: strconv.ParseInt: parsing "${ZBX_CONNECTOR_LOGLEVEL}": invalid syntax
      

            zabbix.dev Zabbix Development Team
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: