Closed sjm767 closed 1 year ago
Hello I I followed the code and tried to debug it.
As a result, I missed schama in filed_config. So, I fixed like this.
AS-IS "[{\"name\":\"ITEM_NAME\"}]"
TO-BE "[{\"name\":\"ITEM_NAME\",\"schema\": {\"type\": \"STRING\"}}]"
It was my mistake..!
Happy to hear you found the necessary configuration change to make it work! 🎉
I'm using JDBC source/sink connector to transfer data between different MSSQL Servers. And I want to encrypt a field values in Kafka, So I'm trying to using "kryptonite-for-kafka".
This is my sample source table schema.
So, I setted JDBC SourceConnector using AvroConverter
And I successfully encryted and produced to kafka topic. here is message and Schema
And I tried to decrypt and insert the message to another MSSQL using JDBC Sink Connector. But a problem occurred here. (table schema is same)
I setted JDBC Sink Connector like this.
I got these error messages
I think Sink Connector using "DECRYPT" but there is any schema related to DECRYPT with 'ITEM_NAME'. I tried using JsonSchemaConverter or JsonConvert with schema, but it's the same problem.
Could you tell me what could be the problem with these errors?