-
Notifications
You must be signed in to change notification settings - Fork 444
Open
Description
Hi, I would like to ask for a Feture Request, to add the ability to add attribute keys when you publish a topic:
enqueue-dev/pkg/gps/GpsProducer.php
Lines 33 to 43 in bb6e759
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), | |
]); | |
} |
xseguib, bjmmartin, p-pichet and damienfern
Metadata
Metadata
Assignees
Labels
No labels