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

Decimal mode config is not working for ibmi connector

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.0.3.Final
    • None
    • ibmi-connector
    • 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:

      What Debezium connector do you use and what version?

      ibmi, 3.0.0.Final

      What is the connector configuration?

      debezium.source.connector.class=io.debezium.connector.db2as400.As400RpcConnector

      debezium.source.offset.flush.interval.ms=2000
      debezium.source.offset.storage.file.filename=./data-db2/offsets.dat

      debezium.source.database.hostname=PUB400.COM
      debezium.source.database.port=446
      debezium.source.database.user=*******
      debezium.source.database.password=*******
      debezium.source.database.dbname=AZIZACALM2
      debezium.source.database.schema=AZIZACALM2
      debezium.source.table.include.list=AZIZACALM2.TEST_TABLE
      debezium.source.topic.prefix=PUB400.COM
      debezium.source.tombstones.on.delete=false
      debezium.source.decimal.handling.mode=string

      debezium.sink.type=rabbitmq
      debezium.sink.rabbitmq.connection.host=localhost
      debezium.sink.rabbitmq.connection.port=5672
      debezium.sink.rabbitmq.connection.username=*******
      debezium.sink.rabbitmq.connection.password=*******
      debezium.sink.rabbitmq.exchange=db2.exchange

      quarkus.log.console.json=false
      quarkus.log.category."io.debezium.connector.db2as400.As400StreamingChangeEventSource".level=DEBUG
      quarkus.http.port=8083
      quarkus.log.file.json=false
      quarkus.log.file.enable=true
      quarkus.log.file.path=data-db2/ibmi-connector.log

      What is the captured database version and mode of deployment?

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

      IBMi 7.5, PUB400.COM

      What behavior do you expect?

      DECIMAL fields appear as string

      What behavior do you see?

      DECIMAL fields appear as byte string

      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)

      ibmi-connector.log

      How to reproduce the issue using our tutorial deployment?

      https://debezium.zulipchat.com/#narrow/stream/433074-community-ibmi/topic/DB2.20IBMi.20.7C.20Decimal.20mode

      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>

              Unassigned Unassigned
              azizacalm Aziza Kalmasova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: