Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初始化Consumer 之后,调用Pull 方法,Consumer 属性 Queues 为 null,报错 #81

Open
xyyipiantian opened this issue Nov 5, 2024 · 2 comments

Comments

@xyyipiantian
Copy link

` var consumer = new Consumer
{
Topic = "nx_test",
Group = "test",
NameServerAddress = set.NameServer,

        FromLastOffset = true,
        BatchSize = 20,

        Log = XTrace.Log,
    };

    consumer.OnConsume = OnConsume;
    consumer.Start();

    _consumer = consumer;`

可以调试试试看。

@xyyipiantian
Copy link
Author

AutoSchedule =false
初始化加上这个就会有问题

@nnhy
Copy link
Member

nnhy commented Nov 6, 2024

AutoSchedule =false

很久没有测试过这个关闭后的使用了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants