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

Feature/sink kafka click #4

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Feature/sink kafka click #4

merged 1 commit into from
Jul 25, 2024

Conversation

jice36
Copy link
Contributor

@jice36 jice36 commented Jul 22, 2024

No description provided.

@jice36 jice36 force-pushed the feature/sink_kafka_click branch from 9e41564 to 5f26d84 Compare July 23, 2024 08:04
)

func init() {
pipelaner.RegisterGenerator("kafka", &Kafka{})
Copy link
Contributor

Choose a reason for hiding this comment

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

Это мы получается автоматом регистрируем кафку для всех будущих реализаций пайплайнов (включая того же агента, где она никак не используется). Я бы всё же утащил это в темплейт и явно регистрировал в модуле fx, чтобы потом не искать по коду, где и что мы добавили в глобальный стейт на этапе init().

source/generator/kafka/kafka.go Outdated Show resolved Hide resolved
config.go Show resolved Hide resolved
@jice36 jice36 force-pushed the feature/sink_kafka_click branch from 4fd2464 to 56c8c75 Compare July 25, 2024 08:16
@jice36 jice36 merged commit f089910 into main Jul 25, 2024
0 of 2 checks passed
@jice36 jice36 deleted the feature/sink_kafka_click branch July 25, 2024 08:17
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.

2 participants