diff --git a/src/main/java/org/elasticsearch/river/hbase/HBaseRiver.java b/src/main/java/org/elasticsearch/river/hbase/HBaseRiver.java index 4fd3d67..39afa7f 100644 --- a/src/main/java/org/elasticsearch/river/hbase/HBaseRiver.java +++ b/src/main/java/org/elasticsearch/river/hbase/HBaseRiver.java @@ -309,6 +309,9 @@ private void parseBulkOfRows(final String timestamp, final ArrayList 0) { + request.setId(new String(row.get(0).key(), charset)); + } bulkRequest.add(request); } bulkRequest.execute().addListener((ActionListener) this);