Skip to content

Subscribing to topics using regex/wildcards seems to not work #4

@Gambradan

Description

@Gambradan

When specifying a topic name to subscribe to (in TKafkaFactory.NewConsumer), regex wildcards do not work (^* or anything else).

rd_kafka_subscribe description says that

 * Wildcard (regex) topics are supported:
 * any topic name in the \p topics list that is prefixed with \c \"^\" will
 * be regex-matched to the full list of topics in the cluster and matching
 * topics will be added to the subscription list.

However, specifying any wildcards for it and calling it does not seem to work either.

Maybe there is some special regex string handling required?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions