pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] tuan6956 opened a new issue #3882: disableReplication in MessageBuilder does not work in PulsarClient C++ and Java
Date Fri, 22 Mar 2019 04:33:16 GMT
tuan6956 opened a new issue #3882: disableReplication in MessageBuilder does not work in PulsarClient
C++ and Java
URL: https://github.com/apache/pulsar/issues/3882
 
 
   **Describe the bug**
   Data is still replicated when disableReplication is enabled
    
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Setup Geo-Replication with 3 cluster(A,B,C)
   2. Set disableReplication = true in MessageBuilder 
   ```
   Message msg = MessageBuilder().setContent("repl").disableReplication(false).build();
   ```
   3. Producer create connect in cluster C and send  ```Message msg```
   ```
   producer.sendAsync(msg, notifySendMessage);
   ```
   **Actual output is**
   1. Cluster A
   ```
   Received message: repl
   ```
   2. Cluster A
   ```
   Received message: repl
   ```
   3. Cluster C
   ```
   Received message: repl
   ```
   **Expected output is**
   1. Cluster A
   ```
   ```
   2. Cluster A
   ```
   ```
   3. Cluster C
   ```
   Received message: repl
   ```
   
   
   Pulsar version: 2.3.0
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message