Skip to content

Define topic at sending time #151

@gosia-politowska

Description

@gosia-politowska

Hi,

In my test I need to send messages to multiple kafka topics within one scenario. Is it possible at the moment? Currently I can see that you define the topic at the protocol building, but I'd like to be able to execute something like this:

private val scn = scenario("Basic")
        .exec(kafka("BasicRequest").send("my-topic", "my-message"))
        .exec(kafka("anotherRequest").send("my-other-topic", "custom-key", "12.0"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions