worryg0d commented on PR #1946: URL: https://github.com/apache/cassandra-gocql-driver/pull/1946#issuecomment-4369065852
I ended up with duplication of the current `writeCoalescer` behavior, but with segments encoding specifics. Changes to the framing format are rare, so I think it is reasonable not to spend time trying to implement a flexible solution that allows the application of encoders on flight. But I'm open to discussion here. Also, I introduced `segmentReader` wrapper around the `ConnReader` interface, which bundles frame-related logic in `recv()` and segment-related logic. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

