Skip to content

Commit

Permalink
remove master and slave references from C++ API docs (apache#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins authored and merlimat committed Jan 31, 2018
1 parent 1bca601 commit e82be83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pulsar-client-cpp/include/pulsar/ConsumerConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ class ConsumerConfiguration {
* only a single consumer is allowed to attach to the subscription. Other consumers
* will get an error message. In Shared subscription, multiple consumers will be
* able to use the same subscription name and the messages will be dispatched in a
* round robin fashion. In Failover subscription, a master-slave subscription model
* round robin fashion. In Failover subscription, a primary-failover subscription model
* allows for multiple consumers to attach to a single subscription, though only one
* of them will be “master” at a given time. Only the master consumer will receive
* messages. When the master gets disconnected, one among the slaves will be promoted
* to master and will start getting messages.
* of them will be “master” at a given time. Only the primary consumer will receive
* messages. When the primary consumer gets disconnected, one among the failover
* consumers will be promoted to primary and will start getting messages.
*/
ConsumerConfiguration& setConsumerType(ConsumerType consumerType);
ConsumerType getConsumerType() const;
Expand Down

0 comments on commit e82be83

Please sign in to comment.