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

[FLI-1067] Kafka Audit Sink #3146

Closed
1 task done
markphelps opened this issue Jun 5, 2024 · 2 comments
Closed
1 task done

[FLI-1067] Kafka Audit Sink #3146

markphelps opened this issue Jun 5, 2024 · 2 comments
Assignees
Labels
enhancement Created by Linear-GitHub Sync
Milestone

Comments

@markphelps
Copy link
Collaborator

markphelps commented Jun 5, 2024

Problem

Flipt currently supports audit event sinks to 3 places:

I think we could get support for several other sinks by adding a message broker/queue such as Kafka, especially with projects like Redpanda Connect (previously Benthos RIP 💀 )

Ideal Solution

Add a new sink type kafka, which would send audit events to configured Apache Kafka message brokers

configuration may look like:

audit:
  sinks:
    kafka:
      enabled:
      topic: foo
      bootstrap_servers:
        - my-cluster-kafka-bootstrap.kafka:9092

It seems bootstrap_servers are the new broker_lists ? https://stackoverflow.com/questions/50312579/what-is-difference-between-broker-list-and-bootstrap-servers

I haven't used Kafka in years though so I could be wrong

Search

  • I searched for other open and closed issues before opening this

Additional Context

Would love to know if any existing users would find this functionality useful

FLI-1067

@markphelps markphelps added the enhancement Created by Linear-GitHub Sync label Jun 5, 2024
@markphelps markphelps changed the title Kafka Audit Sink [FLI-1067] Kafka Audit Sink Jun 5, 2024
@thepabloaguilar
Copy link
Contributor

@markphelps I'd like to suggest this library here: franz-go

It's feature complete (compression, transaction, TLS, SASL Auth) and has support not only for vanilla Kafka but for Redpanda, Microsoft Event Hubs, and MSK too

@markphelps
Copy link
Collaborator Author

Great suggestion @thepabloaguilar !!!

@markphelps markphelps added this to the v.46 milestone Jun 26, 2024
@markphelps markphelps modified the milestones: v.46, v.47 Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Created by Linear-GitHub Sync
Projects
Status: Done
Development

No branches or pull requests

3 participants