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

PIP-41 (part-1): Introduce Protocol Handler API #5130

Merged
merged 4 commits into from Sep 13, 2019

Conversation

sijie
Copy link
Member

@sijie sijie commented Sep 6, 2019

Motivation

This is the first pull request for implementing PIP-41.

PIP-41: https://github.com/apache/pulsar/wiki/PIP-41%3A-Pluggable-Protocol-Handler

Modification

  • Introduce the protocol handler API
  • Introduce a new field protocols in LoadReport
  • Add util classes to search and load protocol handlers
  • Include the protocol handlers in broker's lifecycle
  • Add settings to configure what protocol handlers to load

*Motivation*

This is the first pull request for implementing PIP-41.

PIP-41: https://github.com/apache/pulsar/wiki/PIP-41%3A-Pluggable-Protocol-Handler

*Modification*

- Introduce the protocol handler API
- Introduce a new field `protocols` in LoadReport
- Add util classes to search and load protocol handlers
- Include the protocol handlers in broker's lifecycle
- Add settings to configure what protocol handlers to load
@sijie sijie added type/feature The PR added a new feature or issue requested a new feature area/broker labels Sep 6, 2019
@sijie sijie added this to the 2.5.0 milestone Sep 6, 2019
@sijie sijie self-assigned this Sep 6, 2019
@sijie
Copy link
Member Author

sijie commented Sep 6, 2019

Tests are coming in the next commit.

@sijie
Copy link
Member Author

sijie commented Sep 9, 2019

I have added the unit tests for newly introduced classes.

@jiazhai
Copy link
Member

jiazhai commented Sep 11, 2019

run integration tests

@aahmed-se
Copy link
Contributor

@merlimat can you take a look at this

@sijie sijie merged commit ca63ee6 into apache:master Sep 13, 2019
@sijie sijie deleted the protocol_handler_api branch September 13, 2019 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants