Skip to content

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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant