Skip to content

Add ability to add attribute keys in GPS producer #1335

Description

@mhv666

Hi, I would like to ask for a Feture Request, to add the ability to add attribute keys when you publish a topic:

public function send(Destination $destination, Message $message): void
{
InvalidDestinationException::assertDestinationInstanceOf($destination, GpsTopic::class);
InvalidMessageException::assertMessageInstanceOf($message, GpsMessage::class);
/** @var Topic $topic */
$topic = $this->context->getClient()->topic($destination->getTopicName());
$topic->publish([
'data' => json_encode($message),
]);
}

In Gps producer there is no way to add attribute keys
image

If I'm not wrong should be something like this:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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