When I wanna produce a message, how to set ttl of the message?
I can't find it in example.cpp
string line;
while (getline(cin, line)) {
// Set the payload on this builder
builder.payload(line);
// Actually produce the message we've built
producer.produce(builder);
}
When I wanna produce a message, how to set ttl of the message?
I can't find it in example.cpp