my Table
CREATE TABLE “SOPOOB”.“VJNR_MES_SO_HEADER”
( “SALES_ORDER” VARCHAR2(30),
“SO_ITEM” NUMBER(10,0),
“MATERIAL” VARCHAR2(30),
“QUANTITY” NUMBER(38,3),
“UNIT_OF_MEASURE” VARCHAR2(30),
“REQUIRED_DATE” DATE,
“SOLD_TO_PARTY_NAME” VARCHAR2(40),
“SHIP_TO_PARTY_NAME” VARCHAR2(40),
“SALES_ORGANIZATION” VARCHAR2(40),
“DISTRIBUTION_CHANNEL” VARCHAR2(30),
“PURCHASE_ORDER_NUMBER” VARCHAR2(35),
“PLANT” VARCHAR2(30),
“DESTINATION_CITY” VARCHAR2(30),
“ORDER_CREATION_DATE” DATE,
“MODE_OF_TRANSPORT” VARCHAR2(40),
“STATUS_FLAG” NUMBER(38,0) NOT NULL ENABLE,
“ERROR_DESCRIPTION” VARCHAR2(32),
“DATE_CREATED” DATE,
“DATE_MODIFIED” DATE,
“PI_PROCESS_STATUS” VARCHAR2(1),
“SO_OVERDELIVERY_TOL” NUMBER,
“SO_UNDERDELIVERY_TOL” NUMBER,
“ROUTE” VARCHAR2(6),
“ROUTE_DESCRIPTION” VARCHAR2(50),
“UNLOADING_POINT” VARCHAR2(50),
“RECEIVING_POINT” VARCHAR2(50),
“ROUTE_TREE” VARCHAR2(300) DEFAULT ‘NA’ NOT NULL ENABLE,
“PROCESS_PATH” VARCHAR2(300) DEFAULT ‘NA’ NOT NULL ENABLE,
“MATERIAL_TREE” VARCHAR2(300) DEFAULT ‘NA’ NOT NULL ENABLE,
“YIELD_STRING” VARCHAR2(300),
“RELEASE_DATE” DATE,
“PROPOSED_DELIVERY_DATE” DATE,
“COMMITTED_DATE” DATE
)
Source connector
name=kafkasource
connector.class=io.confluent.connect.jdbc.JdbcSourceConnector
name=oracle-kafka
connection.url=jdbc:oracle:thin:@localhot:1521/<>
connection.user=XXXXX
connection.password=XXXXXXXX
task.max=1
topic.prefix=orakafkapost8
mode= timestamp+incrementing
query=SELECT SALES_ORDER, CAST(SO_ITEM AS NUMBER(5,0)) AS SO_ITEM, MATERIAL, CAST(QUANTITY AS NUMBER(5,2)) AS QUANTITY, UNIT_OF_MEASURE, REQUIRED_DATE, SOLD_TO_PARTY_NAME,SHIP_TO_PARTY_NAME, SALES_ORGANIZATION, DISTRIBUTION_CHANNEL, PURCHASE_ORDER_NUMBER, PLANT,DESTINATION_CITY, ORDER_CREATION_DATE, MODE_OF_TRANSPORT, CAST(STATUS_FLAG AS NUMERIC(1,0)) AS STATUS_FLAG, ERROR_DESCRIPTION, DATE_CREATED,DATE_MODIFIED, PI_PROCESS_STATUS, CAST(SO_OVERDELIVERY_TOL AS NUMBER(5,0)) AS SO_OVERDELIVERY_TOL, CAST(SO_UNDERDELIVERY_TOL AS NUMBER(5,0)) AS SO_UNDERDELIVERY_TOL, ROUTE,ROUTE_DESCRIPTION,UNLOADING_POINT,RECEIVING_POINT,ROUTE_TREE,PROCESS_PATH,MATERIAL_TREE, YIELD_STRING,RELEASE_DATE, PROPOSED_DELIVERY_DATE, COMMITTED_DATE FROM VJNR_MES_SO_HEADER
timestamp.column.name=REQUIRED_DATE
incrementing.column.name=SO_ITEM
validate.non.null=true
poll.interval.ms=1000
numeric.mapping=best_fit
errors.tolerance=all
key.converter=org.apache.kafka.connect.storage.StringConverter
value.converter=org.apache.kafka.connect.json.JsonConverter
key.converter.schemas.enable=false
value.converter.schemas.enable=false
dialect.name=OracleDatabaseDialect
numeric.precision.mapping = true
transforms= REQUIRED_DATE_CONVERTER,ORDER_CREATION_DATE_CONVERTER,DATE_CREATED_CONVERTER,DATE_MODIFIED_CONVERTER,RELEASE_DATE_CONVERTER,PROPOSED_DELIVERY_DATE_CONVERTER, COMMITTED_DATE_CONVERTER
transforms.REQUIRED_DATE_CONVERTER.type= org.apache.kafka.connect.transforms.TimestampConverter$Value
transforms.REQUIRED_DATE_CONVERTER.format= yyyy-MM-dd
transforms.REQUIRED_DATE_CONVERTER.target.type= string
transforms.REQUIRED_DATE_CONVERTER.field= REQUIRED_DATE
transforms.ORDER_CREATION_DATE_CONVERTER.type= org.apache.kafka.connect.transforms.TimestampConverter$Value
transforms.ORDER_CREATION_DATE_CONVERTER.format= yyyy-MM-dd
transforms.ORDER_CREATION_DATE_CONVERTER.target.type= string
transforms.ORDER_CREATION_DATE_CONVERTER.field= ORDER_CREATION_DATE
transforms.DATE_CREATED_CONVERTER.type= org.apache.kafka.connect.transforms.TimestampConverter$Value
transforms.DATE_CREATED_CONVERTER.format= yyyy-MM-dd
transforms.DATE_CREATED_CONVERTER.target.type= string
transforms.DATE_CREATED_CONVERTER.field= DATE_CREATED
transforms.DATE_MODIFIED_CONVERTER.type= org.apache.kafka.connect.transforms.TimestampConverter$Value
transforms.DATE_MODIFIED_CONVERTER.format= yyyy-MM-dd
transforms.DATE_MODIFIED_CONVERTER.target.type= string
transforms.DATE_MODIFIED_CONVERTER.field= DATE_MODIFIED
transforms.RELEASE_DATE_CONVERTER.type= org.apache.kafka.connect.transforms.TimestampConverter$Value
transforms.RELEASE_DATE_CONVERTER.format= yyyy-MM-dd
transforms.RELEASE_DATE_CONVERTER.target.type= string
transforms.RELEASE_DATE_CONVERTER.field= RELEASE_DATE
transforms.PROPOSED_DELIVERY_DATE_CONVERTER.type= org.apache.kafka.connect.transforms.TimestampConverter$Value
transforms.PROPOSED_DELIVERY_DATE_CONVERTER.format= yyyy-MM-dd
transforms.PROPOSED_DELIVERY_DATE_CONVERTER.target.type= string
transforms.PROPOSED_DELIVERY_DATE_CONVERTER.field= PROPOSED_DELIVERY_DATE
transforms.COMMITTED_DATE_CONVERTER.type= org.apache.kafka.connect.transforms.TimestampConverter$Value
transforms.COMMITTED_DATE_CONVERTER.format= yyyy-MM-dd
transforms.COMMITTED_DATE_CONVERTER.target.type= string
transforms.COMMITTED_DATE_CONVERTER.field= COMMITTED_DATE