You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
Hi, I have a question about the demo decoder in README.
@Override
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception {
//Do we need to handle TCP splicing here before DatumReader read?
final NettyByteBufDecoder decoder = new NettyByteBufDecoder(in);
final DatumReader<GenericRecord> reader = new GenericDatumReader<>(schema);
try {
final GenericRecord record = reader.read(null, decoder);
out.add(record);
} catch (final IOException e) {
throw new RuntimeException(e);
}
}
The text was updated successfully, but these errors were encountered:
Hi, I have a question about the demo decoder in README.
The text was updated successfully, but these errors were encountered: