GitHub user NChechulin edited a discussion: Examples not working with server 
launched through docker

Hi!
I launched iggy server with docker-compose from 
[here](https://iggy.apache.org/docs/web-ui/iggy-web-ui).
This should be the latest version of the server and I used latest SDK (iggy @ 
ea8b2b4)

I tried running an example producer from new-sdk: `cargo run --example 
new-sdk-producer -- --tcp-server-address=127.0.0.1:5100 --username=iggy 
--password=iggy --transport=tcp`

Currently for each message sent I get an error:
```
Failed to send messages to topic: new-sdk-topic, stream: new-sdk-stream after 3 
retries. Invalid command.
Error: ProducerSendFailed {
 cause: InvalidCommand,
 failed: [IggyMessage { header: IggyMessageHeader {
  checksum: 0,
  id: 0,
  offset: 0,
  timestamp: 0,
  origin_timestamp: 1753544416234089,
  user_headers_length: 0,
  payload_length: 199
}, payload: b"..."], stream_name: "new-sdk-stream", topic_name: "new-sdk-topic" 
}
```

The stream and topic seem to be created, but messages are not received. Is this 
some kind of version mismatch?

GitHub link: https://github.com/apache/iggy/discussions/2041

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to