Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replicator-producer creation should be idempotent #161

Merged
merged 1 commit into from
Jan 9, 2017

Conversation

rdhabalia
Copy link
Contributor

Motivation

Replicator-producer creation should be idempotent and PersistentTopic starts a new Replicator on every invocation. which creates dangling replicator in a system.

Modifications

Create a topic-replicator for a given remote cluster only once.

Result

It prevents to create multiple duplicate replicator.

@rdhabalia rdhabalia added the type/bug The PR fixed a bug or issue reported a bug label Jan 5, 2017
@rdhabalia rdhabalia added this to the 1.16 milestone Jan 5, 2017
@rdhabalia rdhabalia self-assigned this Jan 5, 2017
@yahoocla
Copy link

yahoocla commented Jan 5, 2017

CLA is valid!

2 similar comments
@yahoocla
Copy link

yahoocla commented Jan 5, 2017

CLA is valid!

@yahoocla
Copy link

yahoocla commented Jan 5, 2017

CLA is valid!

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@merlimat merlimat merged commit e2d8c2e into apache:master Jan 9, 2017
@rdhabalia rdhabalia deleted the dup_repl_same branch January 23, 2017 22:11
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
hrsakai pushed a commit to hrsakai/pulsar that referenced this pull request Dec 10, 2020
* Fixed the connection pool logic

* Fixed mocked object for tests

* Fixed indentation
cbornet pushed a commit to cbornet/pulsar that referenced this pull request Feb 22, 2023
…erService (apache#19153) (apache#161)

* [improve] PIP-241: add TopicEventListener / topic events for the BrokerService (apache#19153)

(cherry picked from commit 3e44d1e)

---------

Co-authored-by: Andrey Yegorov <andrey.yegorov@datastax.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants