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

dump kafka sample source from aspire repo #85

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

g7ed6e
Copy link

@g7ed6e g7ed6e commented Jan 11, 2024

No description provided.

eerhardt added a commit to dotnet/aspire that referenced this pull request Jan 12, 2024
* Add Aspire.Confluent.Kafka component

Contains APIs for both AddKafkaConsumer and AddKafkaProducer. As well as Kafka Hosting APIs to start a Kafka server container.

Update ConfigurationSchema.json using ConfigSchemaGenerator. Cannot be automated until dotnet/runtime#96652 is fixed, so using a local temporary solution for now.

Temporarily add Kafka OTel Metrics logic here until open-telemetry/opentelemetry-dotnet-contrib#1493 is available to use.

Kafka sample can be found in dotnet/aspire-samples#85.

* Address PR feedback

- Make Kafka Settings Config object non-nullable and not settable from user code.
- Use EventId 1 in Logging
- Log response body in Functional tests

* Adjust the initialization of the Settings Config properties because the type can be created publicly.

Fix #884
---------

Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
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.

1 participant