Skip to content

Commit

Permalink
Merge pull request #39 from cmccarthy1/groupid
Browse files Browse the repository at this point in the history
Fix to #27 segfault due to undefined group.id
  • Loading branch information
cmccarthy1 authored Jun 15, 2020
2 parents 17f1ca7 + f9d3320 commit 0817ee3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kfk.q
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ Producer:Client[PRODUCER;]

// Consumer client code
CONSUMER:"c"
Consumer:Client[CONSUMER;]
Consumer:{
if[not `group.id in key y;'"Consumers are required to define a `group.id within the config"];
Client[x;y]}[CONSUMER;]

// table with kafka statistics
stats:()
Expand Down

0 comments on commit 0817ee3

Please sign in to comment.