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

EmbeddedConsumer 构造函数中 blackListTopics 取值错误 #56

Closed
ykgarfield opened this issue Feb 21, 2017 · 2 comments
Closed

EmbeddedConsumer 构造函数中 blackListTopics 取值错误 #56

ykgarfield opened this issue Feb 21, 2017 · 2 comments

Comments

@ykgarfield
Copy link

public EmbeddedConsumer(ConsumerConfig consumerConfig, ProducerConfig producerConfig, ServerStartable serverStartable) {
        this.consumerConfig = consumerConfig;
        this.serverStartable = serverStartable;
        //
        this.whiteListTopics = Arrays.asList(consumerConfig.getMirrorTopicsWhitelist().split(","));
        this.blackListTopics = Arrays.asList(consumerConfig.getMirrorTopicsWhitelist().split(","));
        this.producer = new Producer<Void, Message>(producerConfig);
    }

blackListTopics 取值错了,应该是 consumerConfig.getMirrorTopicsBlackList()

@adyliu
Copy link
Owner

adyliu commented Feb 21, 2017

谢谢。确实是个错误。

@adyliu
Copy link
Owner

adyliu commented Feb 21, 2017

df986c5

@adyliu adyliu closed this as completed Feb 21, 2017
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