Home > other >  The irregular json, spark read kafka is canal binlog log collection, real time read to mysql
The irregular json, spark read kafka is canal binlog log collection, real time read to mysql

Time:10-11

JSON string:
{" the event_type ":" INSERT ", "exe_time" : "1577431623000", "cur_time" : "1577431624229", "binlog" : "mysql - bin. 000013.3969", "cols" : [{" val ":" 99 ", "col" : "id", "type" : "int (11)"}, {" val ":" bald is strong ", "col" : "name", "type" : "varchar (255)"}], "table" : "dataone. MMM"}

In the json format contains array, the array and json,
How to get to 99 and bald, have bosses parsing, I'm stuck here:
  • Related