|
@@ -124,7 +124,6 @@ public class TestConsumer {
|
|
map1.put(key.toString(), jsonObject.get(key));
|
|
map1.put(key.toString(), jsonObject.get(key));
|
|
}
|
|
}
|
|
map.put("properties", map1);
|
|
map.put("properties", map1);
|
|
-
|
|
|
|
mongoTemplate.insert(map, collectionName);
|
|
mongoTemplate.insert(map, collectionName);
|
|
}
|
|
}
|
|
// private void saveData(ConsumerRecord<?, ?> record, String collectionName) {
|
|
// private void saveData(ConsumerRecord<?, ?> record, String collectionName) {
|