You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PulsarApplication.newInstance should abort and close if we cannot connect to Pulsar. This will happen if we have single topic but if multipleTopics=true, the app will just stay in the loop.
{"timestamp":"2019-04-29T06:58:47.352Z","level":"INFO","thread":"main","logger":"fi.hsl.common.pulsar.PulsarApplication","message":"Creating Pulsar consumer for multiple topics using pattern: persistent://public/default/(omm-service-alert|omm-cancellations)","context":"default"}
{"timestamp":"2019-04-29T06:58:47.556Z","level":"WARN","thread":"pulsar-client-io-1-1","logger":"org.apache.pulsar.client.impl.ConnectionPool","message":"Failed to open connection to localhost:6650 : org.apache.pulsar.shade.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:6650","context":"default"}
{"timestamp":"2019-04-29T06:58:47.660Z","level":"WARN","thread":"pulsar-external-listener-3-1","logger":"org.apache.pulsar.client.impl.BinaryProtoLookupService","message":"[namespace: public/default] Could not get connection while getTopicsUnderNamespace -- Will try again in 100 ms","context":"default"}
The text was updated successfully, but these errors were encountered:
paasovaara
changed the title
PulsarApplication.newInstance doesn't throw if connecting to Pulsar w multipleTopicsPattern fails
PulsarApplication.newInstance doesn't throw if connecting to Pulsar fails w multipleTopicsPattern
Apr 29, 2019
PulsarApplication.newInstance should abort and close if we cannot connect to Pulsar. This will happen if we have single topic but if multipleTopics=true, the app will just stay in the loop.
Steps to reproduce:
output:
The text was updated successfully, but these errors were encountered: