diff --git a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java index d084747c564..faca56355cf 100644 --- a/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java +++ b/extensions/kafka/src/main/java/io/deephaven/kafka/publish/JsonKeyOrValueSerializer.java @@ -214,7 +214,7 @@ private JSONFieldProcessor makeIntFieldProcessor(final String fieldName, final C @Override void outputField(final int ii, final ObjectNode node, final IntChunk inputChunk) { final int raw = inputChunk.get(ii); - if (raw == QueryConstants.NULL_SHORT) { + if (raw == QueryConstants.NULL_INT) { if (outputNulls) { node.putNull(childNodeFieldName); }