-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from christophd/pr/add-kafka-consumer-group
chore: Add Kafka consumer group setting
- Loading branch information
Showing
4 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...teps/yaks-kafka/src/test/resources/org/citrusframework/yaks/kafka/kafka-multiline.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Feature: Kafka steps | ||
|
||
Background: | ||
Given Kafka connection | ||
| url | localhost:9092 | | ||
| topic | hello | | ||
| consumerGroup | hello-group | | ||
|
||
Scenario: Send and receive multiline body | ||
When send message to Kafka with body | ||
""" | ||
{ | ||
"message": "Hello from YAKS!" | ||
} | ||
""" | ||
Then expect message in Kafka with body | ||
""" | ||
{ | ||
"message": "Hello from YAKS!" | ||
} | ||
""" | ||
|