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

Extend library to new types of event #68

Open
kons-jaf opened this issue Jan 5, 2022 · 0 comments
Open

Extend library to new types of event #68

kons-jaf opened this issue Jan 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@kons-jaf
Copy link
Collaborator

kons-jaf commented Jan 5, 2022

Background

Defining an Avro schema for records to publish to Kafka is well suited for activity-events from ID-porten components or token-events from components authenticating with Maskinporten.

However we may want to facilitate publishing records

  • without a pre-defined schema
  • to their own topic
  • with core attributes set

Specifications

Implementation should focus on simplicity of use:

  • create a ProducerRecord based on a POJO not generated from an Avro schema
  • enrich the record with static configuration data like application name and environment
  • send the record to a configurable topic
@kons-jaf kons-jaf added the enhancement New feature or request label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant