Skip to content

Specify the port with annotation #917

@JBertaux

Description

@JBertaux

Hello,
With the class rule EmbeddedKafkaRule this is possible to specify the port like that:

public static EmbeddedKafkaRule embeddedKafka = new EmbeddedKafkaRule(1, true, "topic").kafkaPorts(9092);

How can I achieve the same with the annotation ? (I use Junit 5)

@EmbeddedKafka(controlledShutdown = true, topics = {"topic"})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions