You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2022/10/17 11:29:02 UTC
[incubator-eventmesh] branch master updated: issue #1627 refresh consumerGroupConfig of eventMeshConsumer
This is an automated email from the ASF dual-hosted git repository.
chenguangsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 5c691da1 issue #1627 refresh consumerGroupConfig of eventMeshConsumer
new 15aa35a1 Merge pull request #1631 from abcMH1966/master
5c691da1 is described below
commit 5c691da1d161570e316bd9d94f90e42fcc71bac6
Author: licuncai <25...@qq.com>
AuthorDate: Mon Oct 17 19:06:10 2022 +0800
issue #1627 refresh consumerGroupConfig of eventMeshConsumer
---
.../runtime/core/protocol/http/consumer/ConsumerGroupManager.java | 1 +
.../runtime/core/protocol/http/consumer/EventMeshConsumer.java | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/ConsumerGroupManager.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/ConsumerGroupManager.java
index 7d4ddab9..640ed86a 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/ConsumerGroupManager.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/ConsumerGroupManager.java
@@ -78,6 +78,7 @@ public class ConsumerGroupManager {
}
this.consumerGroupConfig = consumerGroupConfig;
+ this.eventMeshConsumer.setConsumerGroupConf(consumerGroupConfig);
init();
start();
}
diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/EventMeshConsumer.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/EventMeshConsumer.java
index c571413a..a4d57f29 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/EventMeshConsumer.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/http/consumer/EventMeshConsumer.java
@@ -298,6 +298,10 @@ public class EventMeshConsumer {
return consumerGroupConf;
}
+ public void setConsumerGroupConf(ConsumerGroupConf consumerGroupConf) {
+ this.consumerGroupConf = consumerGroupConf;
+ }
+
public EventMeshHTTPServer getEventMeshHTTPServer() {
return eventMeshHTTPServer;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org