Skip to content

Is it possible to alter the Whitelist while consuming messages? #110

Open
@auserx

Description

@auserx

Is it possible to alter the Whitelist to change from one partition to another while inside the consume loop?

I tried this and it didn't work:

foreach (var message in consumer.Consume())
{
if(something)
{
options.PartitionWhitelist = new List { 1 };
consumer = new Consumer(options);
}
...

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