Closed nathandaly closed 6 months ago
Hey 👋
I can see my messages on upstash dashboard when I produce using the shouldFlush
argument set to true.
I'm still not sure why tho
Hey @nathandaly can you try to set the linger.ms
producer configuration to 0? This should fix the issue
->withConfigOption('linger.ms', 0)
closing due to lack of response
Package Version v2.0.1
Laravel Version 11
PHP Version 8.3
Problem description Using the examples documented I have tried to produce messages that will show up in my Upstash Kafka instance. I am new to Kafka and the topic base messaging strategy so it may be user error.
Expected behaviour
When I run the code below. I expect to see messages appear in my Upstash Kafka instance. When I run the CURL command I do see message so I know it is able to receive them.
I have tried with and without Sasl and neither are able to produce messages in Upstash.
❓Is it because it's appending
/bootstrap
to the URL?Relevant log output Producer
send()
returnstrue
with the below log call back.