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
{{ message }}
This repository was archived by the owner on Apr 1, 2024. It is now read-only.
Describe the bug
PulsarIO Sink "topics-pattern" regex is not working as expected
To Reproduce
We have two topics:
://public/default/topic1
://public/default/topic2
We are using the builtin influxdb connector, so check to have it installed before try to reproduce the behaviour.
Steps to reproduce the behavior:
We would like to create a new sink using a regex topic-pattern that has as inputs both topic1 and topic2 and all the topics that start with the character "t" using the pattern "t.*". So, create the Sink using the following command pulsar-admin sinks create --tenant public --namespace default --name test-sink --sink-type influxdb --sink-config-file influxdb.yaml --topics-pattern "t.*
This is the influxdb.yaml configuration configs: influxdbUrl: "http://localhost:8086" database: "test_db" username: "admin" password: "Oncode01" consistencyLevel: "ONE" logLevel: "NONE" retentionPolicy: "autogen" gzipEnable: true batchTimeMs: 1000 batchSize: 200
I expcted to have as inputs both topic1 and topic2 but there are no topics as input
If I use as topic pattern only ".*" using this command pulsar-admin sinks create --tenant public --namespace default --name test-sink --sink-type influxdb --sink-config-file influxdb.yaml --topics-pattern "t.* and the same influxdb.yaml configuration I have correctly topic1 and topic2 as inputs
Expected behavior
The expected behaviour is to have both topic1 and topic2 as the sink inputs.
I suspect this is a bug since I tried with many others regex pattern and no one is working. Only ".*" is working.
The text was updated successfully, but these errors were encountered:
Original Issue: apache#5944
Describe the bug
PulsarIO Sink "topics-pattern" regex is not working as expected
To Reproduce
We have two topics:
We are using the builtin influxdb connector, so check to have it installed before try to reproduce the behaviour.
Steps to reproduce the behavior:
pulsar-admin sinks create --tenant public --namespace default --name test-sink --sink-type influxdb --sink-config-file influxdb.yaml --topics-pattern "t.*
This is the influxdb.yaml configuration
configs: influxdbUrl: "http://localhost:8086" database: "test_db" username: "admin" password: "Oncode01" consistencyLevel: "ONE" logLevel: "NONE" retentionPolicy: "autogen" gzipEnable: true batchTimeMs: 1000 batchSize: 200
pulsar-admin sinks create --tenant public --namespace default --name test-sink --sink-type influxdb --sink-config-file influxdb.yaml --topics-pattern "t.*
and the same influxdb.yaml configuration I have correctly topic1 and topic2 as inputsExpected behavior
The expected behaviour is to have both topic1 and topic2 as the sink inputs.
I suspect this is a bug since I tried with many others regex pattern and no one is working. Only ".*" is working.
The text was updated successfully, but these errors were encountered: