This is an automated email from the ASF dual-hosted git repository.

mikexue 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 e6af1400f Added fix for incubator-eventmesh issue #3089
     new c9707f57e Merge pull request #3147 from sanskar-thakur/fix-patch-3089
e6af1400f is described below

commit e6af1400f69c7142b9c9bf56bba6a672b4c28271
Author: Zaar <[email protected]>
AuthorDate: Wed Feb 15 23:12:06 2023 +0530

    Added fix for incubator-eventmesh issue #3089
    
    Corrected string format message.
---
 .../apache/eventmesh/connector/pulsar/consumer/PulsarConsumerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/consumer/PulsarConsumerImpl.java
 
b/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/consumer/PulsarConsumerImpl.java
index fba1f8a6d..a3b41c5c9 100644
--- 
a/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/consumer/PulsarConsumerImpl.java
+++ 
b/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/consumer/PulsarConsumerImpl.java
@@ -80,7 +80,7 @@ public class PulsarConsumerImpl implements Consumer {
             this.pulsarClient = clientBuilder.build();
         } catch (Exception ex) {
             throw new ConnectorRuntimeException(
-              String.format("Failed to connect pulsar with exception: %", 
ex.getMessage()));
+              String.format("Failed to connect pulsar with exception: %s", 
ex.getMessage()));
         }
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to