You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/28 03:36:29 UTC

[GitHub] [pulsar-client-cpp] tuan6956 opened a new issue, #81: disableReplication in MessageBuilder does not work in PulsarClient C++ and Java

tuan6956 opened a new issue, #81:
URL: https://github.com/apache/pulsar-client-cpp/issues/81

   **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(true).build();
   ```
   3. Producer create connect in cluster C and send  ```Message msg```
   ```
   producer.sendAsync(msg, notifySendMessage);
   ```
   **Actual output is consumer**
   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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org