新增:消费对象初始化是否 开启事件监听控制
This commit is contained in:
@@ -54,7 +54,9 @@ public abstract class KafakConsumer extends AbstractConsumer implements IConsume
|
||||
|
||||
@Override
|
||||
public final void init(AnyValue config) {
|
||||
preInit();
|
||||
if (!preInit()) {
|
||||
return;
|
||||
}
|
||||
try (FileInputStream fis = new FileInputStream(new File(APP_HOME, "conf/kafak.properties"));) {
|
||||
props = new Properties();
|
||||
props.load(fis);
|
||||
|
Reference in New Issue
Block a user