Open evie-lau opened 5 years ago
Additionally, when buying/selling stock, sometimes I come across this log message:
log:[WARNING ] Unable to get the stock price. Skipping sending the StockPurchase to Kafka
This should also not happen if we wish to keep portfolio in sync with Consumers reading from the Event Stream.
In trying to utilize using Kafka with IBM Event Stream, I think it is best to ensure that Kafka is able to connect properly with an event stream to avoid data going out of sync (between portfolio and the event stream).
This may add some overhead work to make sure secrets are setup properly.
The same should be done on any consumers to ensure that they only consume when they are able to correctly process/store the consumed events.
Usually the logs look like this: