HI @avsej.
I have installed Kafka Connector 3.0 to connect my couchbase with kafka.
I have followed the steps mentioned in https://developer.couchbase.com/documentation/server/4.6/connectors/kafka-3.0/quickstart.html
I can see my data from console consumer in kafka. But my data contains payload.content in encrypted form.
I need help to decrypt my data, since i have to show data on kibana using logstash.
Here is the JSON i am getting:
{
"schema":{
"type":"struct",
"fields":[
{
"type":"string",
"optional":false,
"field":"event"
},
{
"type":"int16",
"optional":false,
"field":"partition"
},
{
"type":"string",
"optional":false,
"field":"key"
},
{
"type":"int64",
"optional":false,
"field":"cas"
},
{
"type":"int64",
"optional":false,
"field":"bySeqno"
},
{
"type":"int64",
"optional":false,
"field":"revSeqno"
},
{
"type":"int32",
"optional":true,
"field":"expiration"
},
{
"type":"int32",
"optional":true,
"field":"flags"
},
{
"type":"int32",
"optional":true,
"field":"lockTime"
},
{
"type":"bytes",
"optional":true,
"field":"content"
}
],
"optional":false,
"name":"com.couchbase.DcpMessage"
},
"payload":{
"event":"mutation",
"partition":46,
"key":"Logs::d42f91ce-e0ec-444f-bb20-09398f15efe4",
"cas":1501735721952542720,
"bySeqno":12,
"revSeqno":1,
"expiration":0,
"flags":0,
"lockTime":0,
"content":"eyJfc3luYyI6eyJyZXYiOiIxLWEwMzQ4NjlhNzYyYzAyZWYxMzJiZjhhMDFhM2IxOTUwIiwic2VxdWVuY2UiOjEyNDkxLCJyZWNlbnRfc2VxdWVuY2VzIjpbMTI0OTFdLCJoaXN0b3J5Ijp7InJldnMiOlsiMS1hMDM0ODY5YTc2MmMwMmVmMTMyYmY4YTAxYTNiMTk1MCJdLCJwYXJlbnRzIjpbLTFdLCJjaGFubmVscyI6W251bGxdfSwidGltZV9zYXZlZCI6IjIwMTctMDgtMDNUMDQ6NDg6MjYuNjM4NzAxOTU5WiJ9LCJjb21wb25lbnROYW1lIjoiVmlyZ2luIFZveWFnZXMiLCJjb21wb25lbnRWZXJzaW9uIjoiMS4yLjUiLCJjb3JlbGF0aW9uSWQiOiIxNTAxNzM1NTMy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