Github user nickwallen commented on the issue:
https://github.com/apache/metron/pull/1030
> [Stellar]>>> KAFKA_TAIL("mytopic")
> []
KAFKA_TAIL always seeks to the end of the topic. So the consumer offset
was set to the end of the topic (offset=2). No more messages arrived on this
topic, so it timed out and returned no data.
If you had run this on a topic actively receiving data, you would have seen
the new messages arriving.
> [Stellar]>>> KAFKA_GET("mytopic")
> []
Like I said, after running the KAFKA_TAIL command before your consumer
offset was set to 2 (the end of the topic.) KAFKA_GET will always use an
existing consumer offset. Since there are no messages at offset 2, It didn't
return anything.
Use KAFKA_TAIL on one of the sensor topics in the dev environment. You
will be able to see the latest messages arriving.
```
KAFKA_TAIL("bro")
```
You can also manually change your `group.id` so that your KAFKA_GET call
doesn't pick-up the existing consumer offsets, if that is what you want.
```
KAFKA_GET("mytopic",{ 'group.id':'new.group' })
```
---