mirror of
https://github.com/valitydev/wb-list-manager.git
synced 2024-11-06 01:35:17 +00:00
Fix stream (#26)
This commit is contained in:
parent
9c8ac08b05
commit
e9b6d5b7be
@ -35,10 +35,12 @@ public class StartupListener implements ApplicationListener<ContextRefreshedEven
|
||||
log.info("StartupListener start stream kafkaStreams: {}", kafkaStreams.metadataForAllStreamsClients());
|
||||
|
||||
if (wbListCorrectionStreamProperties.getEnabled()) {
|
||||
wbListStreamProperties.put("application.id", wbListCorrectionStreamProperties.getApplicationId());
|
||||
wbListStreamProperties.put("client.id", wbListCorrectionStreamProperties.getClientId());
|
||||
Properties properties = new Properties();
|
||||
properties.putAll(wbListStreamProperties);
|
||||
properties.put("application.id", wbListCorrectionStreamProperties.getApplicationId());
|
||||
properties.put("client.id", wbListCorrectionStreamProperties.getClientId());
|
||||
kafkaStreamsWbListErrorRowsCorrection =
|
||||
wbListErrorRowsCorrectionStreamFactory.create(wbListStreamProperties);
|
||||
wbListErrorRowsCorrectionStreamFactory.create(properties);
|
||||
kafkaStreamsWbListErrorRowsCorrection.start();
|
||||
log.info("StartupListener start stream kafkaStreamsWbListErrorRowsCorrection: {}",
|
||||
kafkaStreamsWbListErrorRowsCorrection.metadataForAllStreamsClients());
|
||||
|
Loading…
Reference in New Issue
Block a user