-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support protocol: Cassandra #1959
Conversation
5f26019
to
9e4ce7e
Compare
jenkins, test it again, please |
- package: https://github.com/go-inf/inf | ||
version: v0.9.0 | ||
- package: github.com/golang/snappy | ||
version: d9eb7a3d35ec988b8585d4a0068e462c27d28380 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snappy is already included at line 53.
run |
} | ||
cassandra.pub.results = results | ||
|
||
isDebug = logp.IsDebug("http") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace 'http' with cassandra!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bug in generator!
Looks quite good. Just some minor issues. Have you considered to fork the 'framer' of from gocql (or refactor gocql a little to make Framer available)? Would be nice to have the backing CQL parser vendored instead code being copied right into the module. |
logp.Debug("cassandra", "start to parse header") | ||
} | ||
if !p.buf.Avail(9) { | ||
logp.Err("not enough head bytes, ignore") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is no error, but an indicator no complete frame header being in buffer. downgrade to Debug
fbceb7b
to
b647852
Compare
This PR is for this issue:
#1958