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

Init commit of Kafka protocol supporting #478

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dao-jun
Copy link

@dao-jun dao-jun commented Feb 24, 2025

fixes: #488

Purpose

Support Kafka Protocol

Tests

NONE

@dao-jun dao-jun changed the title [WIP] Support Kafka Protocol Init commit of Kafka protocol supporting Feb 25, 2025
@dao-jun
Copy link
Author

dao-jun commented Feb 25, 2025

@wuchong PTAL

@dao-jun
Copy link
Author

dao-jun commented Mar 1, 2025

@wuchong I've finished this PR, do you have any suggestions? or maybe we can merge the PR and push forward

Copy link
Member

@wuchong wuchong left a comment

Choose a reason for hiding this comment

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

Looks good in general. Could you set up the code format plugin in IDEA to automatically re-format to Google Java Style?

https://alibaba.github.io/fluss-docs/docs/dev/ide-setup/#code-formatting

import static org.apache.kafka.common.protocol.ApiKeys.API_VERSIONS;
import static org.apache.kafka.common.protocol.ApiKeys.PRODUCE;

@Slf4j
Copy link
Member

Choose a reason for hiding this comment

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

We want to keep a minimal dependency footprint, let's avoid introducing Lombok and manually declare the Logger instead.

Copy link
Author

Choose a reason for hiding this comment

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

Addressed

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Member

Choose a reason for hiding this comment

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

missing license header

Copy link
Author

Choose a reason for hiding this comment

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

Addressed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Kafka Protocol Part1: Add Kafka request handler
2 participants