Skip to content

Confluent Kafka Schema Registry Integration #1380

@BouhairieMcKnight

Description

@BouhairieMcKnight

Related to an existing integration?

Yes

Existing integration

Aspire.Hosting.Kafka

Overview

The feature provides integration of the confluentinc/cp-schema-registry docker image with Aspire.Hosting.Kafka.

Usage example

using Aspire.Hosting;

var builder = DistributedApplication.CreateBuilder(args);

var kafka = builder.AddKafka("kafka");

var schemaRegistry = builder
    .AddSchemaRegistry("schema")
    .WithReference(kafka);

var api = builder
    .AddProject<Projects.MyApi>("api")
    .WithReference(kafka)
    .WithReference(schemaRegistry);

builder.Build().Run();

Breaking change?

No

Alternatives

No other alternatives. The addition should not break existing api's.

Additional context

No response

Help us help you

Yes, I'd like to be assigned to work on this item

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions