What is the reference lifetime held by the async ProtoRawEncoder? Can we use the 'static lifetime? #128
Unanswered
antonmithun-work
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
I believe I resolved the issue by using schema_registry_converter::async_impl::easy_proto_raw::EasyProtoRawEncoder instead. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We use tokio::spawn to spin up a thread for wrapping the encoding and publishing logic. What lifetime does the async ProtoRawEncoder hold, and is it feasible to use the 'static lifetime in this case?
Beta Was this translation helpful? Give feedback.
All reactions