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
I have a service that needs to listen to dynamically created kafka topics. All topics have a name like prefix.<UUID>.events. I tried using the following config in Quarkus' application.properties
Seems to be related to quarkus and config.
A test using your regexp internally works.
For the record, I used the following MP Config file:
#file generated for testing purpose
#Wed Aug 19 19:57:32 CEST 2020
mp.messaging.incoming.kafka.topic=prefix\\..*\\.events
mp.messaging.incoming.kafka.pattern=true
mp.messaging.incoming.kafka.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer
mp.messaging.incoming.kafka.connector=smallrye-kafka
I have a service that needs to listen to dynamically created kafka topics. All topics have a name like
prefix.<UUID>.events
. I tried using the following config in Quarkus'application.properties
However, on application startup I get the following errors
I tested the pattern by running
Pattern.compile("prefix\\..*\\.events")
and it compiles and matches my topic names.Furthermore, I tried using different patterns like
.*
and.+
, which show the same error.See also discussion on Zulip: https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/Smallrye.20Reactive.20Messaging.3A.20Listen.20to.20dynamic.20Kafka.20topics
The text was updated successfully, but these errors were encountered: