Skip to content

Commit

Permalink
Fix Kafka parser regex (cadence-workflow#3085)
Browse files Browse the repository at this point in the history
Co-authored-by: Yichao Yang <[email protected]>
  • Loading branch information
yux0 and yycptt authored Feb 28, 2020
1 parent ac29268 commit 1601630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cli/adminKafkaCommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const (
)

var (
r = regexp.MustCompile(`Partition: \d+, Offset: \d+, Key: [^\n]*\n`)
r = regexp.MustCompile(`Partition: .*?, Offset: .*?, Key: .*?`)
)

type writerChannel struct {
Expand Down

0 comments on commit 1601630

Please sign in to comment.