dockerzhang / incubator-inlong

Apache InLong - a one-stop data streaming platform
https://inlong.apache.org/
Apache License 2.0
0 stars 0 forks source link

[INLONG-85] There is NPE when creating PullConsumer with TubeSingleSessionFactory #85

Closed dockerzhang closed 3 years ago

dockerzhang commented 3 years ago

There is NullPointException when when creating PullConsumer with code like this:

ConsumerConfig consumerConfig = new ConsumerConfig(localhost, masterAddress, consumerGroup);
TubeSingleSessionFactory messageSessionFactory = new TubeSingleSessionFactory(consumerConfig);
PullMessageConsumer pullConsumer = messageSessionFactory.createPullConsumer(consumerConfig);

The caused exception stack trace is:

java.lang.NullPointerException         

            com.tencent.tubemq.client.factory.TubeSingleSessionFactory.createPullConsumer(TubeSingleSessionFactory.java:80)

 

JIRA link - [INLONG-85] created by duli559