Skip to content

dump kafka sample source from aspire repo#85

Draft
g7ed6e wants to merge 1 commit intomicrosoft:mainfrom
g7ed6e:kafka-sample
Draft

dump kafka sample source from aspire repo#85
g7ed6e wants to merge 1 commit intomicrosoft:mainfrom
g7ed6e:kafka-sample

Conversation

@g7ed6e
Copy link
Copy Markdown

@g7ed6e g7ed6e commented Jan 11, 2024

No description provided.

eerhardt added a commit to microsoft/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 microsoft/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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant