luoyuxia commented on issue #240: URL: https://github.com/apache/fluss-rust/issues/240#issuecomment-3854021019
After I think it again, I will argue that the [rust-rdkafka](https://github.com/fede1024/rust-rdkafka) does bring inconvenient to users. Users have to spawn tasks, and each task do the send. So, I'll suggest to fire-and-forget behaviour: - append, upsert, delete just return a `result_handle` or some othing think to help use track the status of one wirte - `result_handle` also implement future, which enable users to `result_handle.await` - users can call flush, or call `result_handle.await` to block to wait the write finish. @fresh-borzoni @leekeiabstraction What do you think of it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
