Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider requiring Kafka connection to start #26

Open
evie-lau opened this issue Feb 8, 2019 · 1 comment
Open

Consider requiring Kafka connection to start #26

evie-lau opened this issue Feb 8, 2019 · 1 comment

Comments

@evie-lau
Copy link
Contributor

evie-lau commented Feb 8, 2019

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:

log:[WARNING ] Failure sending message to Kafka
log:[WARNING ] java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed
log: Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
@evie-lau
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant