This commit is contained in:
lxy 2020-10-10 16:09:31 +08:00
parent 7124938714
commit 5ddf349c4f
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# Producer # Producer
bootstrap.servers=47.111.150.118:6062 #bootstrap.servers=47.111.150.118:6062
#bootstrap.servers=121.196.17.55:6062
bootstrap.servers=39.108.56.246:9092
#bootstrap.servers=122.112.180.156:6062
acks=all acks=all
retries=0 retries=0
batch.size=16384 batch.size=16384

View File

@ -14,6 +14,8 @@ public abstract class AbstractConsumer implements IConsumer {
public final Map<String, EventType> eventMap = new HashMap<>(); public final Map<String, EventType> eventMap = new HashMap<>();
public abstract String getGroupid();
public boolean preInit() { public boolean preInit() {
return true; return true;
} }