parent
e95b816f54
commit
f53d05ba6c
1 changed files with 3 additions and 3 deletions
|
|
@ -68,12 +68,12 @@ public class TradeImporterService {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (byCommand) {
|
if (byCommand) {
|
||||||
STradesImportedRequest sTradesImportedRequest = new STradesImportedRequest();
|
|
||||||
producer.send(new ProducerRecord<>(S_TRADES_IMPORTED, sTradesImportedRequest));
|
|
||||||
log.debug("Successfully import STrades from DB by command. Send to kafka command, topic={}", S_TRADES_IMPORTED);
|
log.debug("Successfully import STrades from DB by command. Send to kafka command, topic={}", S_TRADES_IMPORTED);
|
||||||
} else {
|
} else {
|
||||||
log.debug("Successfully import STrades from DB by scheduled");
|
log.debug("Successfully import STrades from DB by scheduled. Send to kafka command, topic={}", S_TRADES_IMPORTED);
|
||||||
}
|
}
|
||||||
|
STradesImportedRequest sTradesImportedRequest = new STradesImportedRequest();
|
||||||
|
producer.send(new ProducerRecord<>(S_TRADES_IMPORTED, sTradesImportedRequest));
|
||||||
}
|
}
|
||||||
|
|
||||||
public STrades getSTradesFromImdg(STrades tradesDb, Imdg<STrades> sTradesImdg) {
|
public STrades getSTradesFromImdg(STrades tradesDb, Imdg<STrades> sTradesImdg) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue