Consumption kafka multithreaded access to content (data), is to realize the function of data with 1000 or 30 seconds to push data to the downstream interface
Question:
View the data in the database found that will result in lost count, dirty reads, etc.,



CodePudding user response:
Add synchronized, or use the hashtable also tried, the problem is still there