Skip to content

Commit

Permalink
支持用 folkmq:// 地址连接 broker
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Dec 5, 2023
1 parent d02bf64 commit a481c1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void startBrokerSession(String brokerServers, boolean saveEnable, MqWatc

//同时支持:Broker 和 Multi-Broker
for (String server : brokerServers.split(",")) {
server = server.trim();
server = server.trim().replace("folkmq://","sd:tcp://");

if (Utils.isNotEmpty(server)) {
Session session = SocketD.createClient(server)
Expand Down

0 comments on commit a481c1b

Please sign in to comment.