Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Refactor APIs to allow access from the Proxy module #710

Merged

Conversation

eolivelli
Copy link
Contributor

This patch introduces a little refactor in order to support the implementation of a separate KOP Proxy Module:

  • allow to access internal ByteBuf of KafkaHeaderAndRequest, in order to allow zero-copy request magement in the Proxy
  • extract some static methods in order to use the same algorithm for mapping coordinators

Relates to #57

- allow to access internal ByteBuf of KafkaHeaderAndRequest, in order to allow zero-copy request magement in the Proxy
- extract some static methods in order to use the same algorithm for mapping coordinators
@eolivelli
Copy link
Contributor Author

@BewareMyPower all check passed

@BewareMyPower BewareMyPower merged commit 851a2cd into streamnative:master Sep 7, 2021
BewareMyPower pushed a commit that referenced this pull request Sep 8, 2021
This patch introduces a little refactor in order to support the implementation of a separate KOP Proxy Module:
- allow to access internal ByteBuf of KafkaHeaderAndRequest, in order to allow zero-copy request magement in the Proxy
- extract some static methods in order to use the same algorithm for mapping coordinators

Relates to #57 

Co-authored-by: Enrico Olivelli <eolivelli@apache.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants