使用java模拟生成sql
有如下数据
{"type":1,"tableName":"StockStatusSmall","pk":{"updateTimeHour":"xxxxxx","warehouseId":"xxxx"}},{"packageCount":xxx,"stockState":x,"updateTimeHour":"xxxxxxxxx","warehouseId":xxxx}
kafka中key: {"type":1,
"tableName":"StockStatusSmall",
"pk":
{"updateTimeHour":"xxxxx","warehouseId":"xxxx"}
}
kafka中value:{"packageCount":xxx,
"stockState":1,
"updateTimeHour":"xxxxxxxxx",
"warehouseId":xxxx
}
可以抽象一个如下的数据结构
{
"tableName":""