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

Refactor: Using Kafka instead of RabbitMQ #33

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

Conversation

mutezebra
Copy link
Member

Using Kafka instead of RabbitMQ
Refs: #30

@mutezebra
Copy link
Member Author

编写函数已经过验证
image

@mutezebra
Copy link
Member Author

Kafka的日志管理同样可以利用EsHook,而且可以区分正常的Logger与ErrLogger,我在想我们是否需要这个。
如有需要可以评论留言,我再更改EsHook相关的PR

config/config.example.yaml Show resolved Hide resolved
docker/docker-compose.yml Outdated Show resolved Hide resolved
cmd/template/dal/mq/init.go Outdated Show resolved Hide resolved
cmd/template/dal/mq/init.go Outdated Show resolved Hide resolved
cmd/template/dal/mq/init.go Outdated Show resolved Hide resolved
@ozline
Copy link
Member

ozline commented Oct 16, 2024

Kafka的日志管理同样可以利用EsHook,而且可以区分正常的Logger与ErrLogger,我在想我们是否需要这个。

如有需要可以评论留言,我再更改EsHook相关的PR

ok

@mutezebra mutezebra requested a review from ozline October 18, 2024 04:07
Copy link
Member

Choose a reason for hiding this comment

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

包名我觉得可以改一下,换成mq?

@SchwarzSail
Copy link
Member

感觉也可以合掉了

@mutezebra
Copy link
Member Author

已经解决了conflicts

@ozline ozline requested review from jiuxia211 and ozline and removed request for ozline October 18, 2024 13:12
去掉空格
KAFKA_CFG_ADVERTISED_LISTENERS=BROKER://fzuhelper-kafka:9092,EXTERNAL://127.0.0.1:9093
KAFKA_CFG_INTER_BROKER_LISTENER_NAME=BROKER
[email protected]:9094
ALLOW_PLAINTEXT_LISTEN
Copy link
Member

Choose a reason for hiding this comment

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

这是什么?允许 PLAINTECT_LISTEN?

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.

3 participants