[GitHub] [flink] HsbcJone commented on pull request #13296: [FLINK-18774][format][debezium] Support debezium-avro format

2020-09-25 Thread GitBox


HsbcJone commented on pull request #13296:
URL: https://github.com/apache/flink/pull/13296#issuecomment-698684598







This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [flink] HsbcJone commented on pull request #13296: [FLINK-18774][format][debezium] Support debezium-avro format

2020-09-24 Thread GitBox


HsbcJone commented on pull request #13296:
URL: https://github.com/apache/flink/pull/13296#issuecomment-698688361


   @caozhen1937 
   
![image](https://user-images.githubusercontent.com/15171290/94220475-9d828d00-ff1b-11ea-9850-6ff06d1d09da.png)
this is the record  by confluent  `kafka-avro-console-consumer ` 
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [flink] HsbcJone commented on pull request #13296: [FLINK-18774][format][debezium] Support debezium-avro format

2020-09-24 Thread GitBox


HsbcJone commented on pull request #13296:
URL: https://github.com/apache/flink/pull/13296#issuecomment-698684598


   @caozhen1937  hi   i fork ur code for test  debezium-avro-confluent . i 
debug the source code .but its do not work .
   @wuchong 
   here is the  exception;
   ![Uploading image.png…]()
   
   
   the belows is the 'used topic schema'
   `{
 "connect.name": "sosps.avro.inventory.customers.Envelope",
 "fields": [
   {
 "default": null,
 "name": "before",
 "type": [
   "null",
   {
 "connect.name": "sosps.avro.inventory.customers.Value",
 "fields": [
   {
 "name": "id",
 "type": "int"
   },
   {
 "name": "first_name",
 "type": "string"
   },
   {
 "name": "last_name",
 "type": "string"
   },
   {
 "name": "email",
 "type": "string"
   }
 ],
 "name": "Value",
 "type": "record"
   }
 ]
   },
   {
 "default": null,
 "name": "after",
 "type": [
   "null",
   "Value"
 ]
   },
   {
 "name": "source",
 "type": {
   "connect.name": "io.debezium.connector.mysql.Source",
   "fields": [
 {
   "name": "version",
   "type": "string"
 },
 {
   "name": "connector",
   "type": "string"
 },
 {
   "name": "name",
   "type": "string"
 },
 {
   "name": "ts_ms",
   "type": "long"
 },
 {
   "default": "false",
   "name": "snapshot",
   "type": [
 {
   "connect.default": "false",
   "connect.name": "io.debezium.data.Enum",
   "connect.parameters": {
 "allowed": "true,last,false"
   },
   "connect.version": 1,
   "type": "string"
 },
 "null"
   ]
 },
 {
   "name": "db",
   "type": "string"
 },
 {
   "default": null,
   "name": "table",
   "type": [
 "null",
 "string"
   ]
 },
 {
   "name": "server_id",
   "type": "long"
 },
 {
   "default": null,
   "name": "gtid",
   "type": [
 "null",
 "string"
   ]
 },
 {
   "name": "file",
   "type": "string"
 },
 {
   "name": "pos",
   "type": "long"
 },
 {
   "name": "row",
   "type": "int"
 },
 {
   "default": null,
   "name": "thread",
   "type": [
 "null",
 "long"
   ]
 },
 {
   "default": null,
   "name": "query",
   "type": [
 "null",
 "string"
   ]
 }
   ],
   "name": "Source",
   "namespace": "io.debezium.connector.mysql",
   "type": "record"
 }
   },
   {
 "name": "op",
 "type": "string"
   },
   {
 "default": null,
 "name": "ts_ms",
 "type": [
   "null",
   "long"
 ]
   },
   {
 "default": null,
 "name": "transaction",
 "type": [
   "null",
   {
 "fields": [
   {
 "name": "id",
 "type": "string"
   },
   {
 "name": "total_order",
 "type": "long"
   },
   {
 "name": "data_collection_order",
 "type": "long"
   }
 ],
 "name": "ConnectDefault",
 "namespace": "io.confluent.connect.avro",
 "type": "record"
   }
 ]
   }
 ],
 "name": "Envelope",
 "namespace": "sosps.avro.inventory.customers",
 "type": "record"
   }`
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org