Skip to content

Commit

Permalink
Update kafka jar and README
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshnikam671 committed Aug 5, 2024
1 parent 395a3ea commit 7b347d6
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 19 deletions.
Binary file added AsyncAPI-Request-Reply-Draft.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@

This sample project demonstrates how we can run contract tests against a service which interacts with a kafka broker.

## Background
This project includes a consumer that listens to messages on a specific topic.
Upon receiving a message, the consumer processes it and publishes a new message to two other designated topics.

![Specmatic Kafka Sample Architecture](AsyncAPI-Request-Reply-Draft.gif)


## Pre-requisites
* Gradle
* JDK 17+
* Docker

## Run the tests
1. Start Docker Desktop.
2. Run the following command -
```shell
./gradlew clean test
```
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {

testImplementation("org.assertj:assertj-core:3.24.2")
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.0'
testImplementation('io.specmatic:specmatic-kafka:0.22.7-TRIAL')
testImplementation('io.specmatic:specmatic-kafka:0.22.8-TRIAL')
testImplementation 'org.testcontainers:testcontainers:1.18.3'
}

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"component": {
"group": "io.specmatic",
"module": "specmatic-kafka",
"version": "0.22.7-TRIAL",
"version": "0.22.8-TRIAL",
"attributes": {
"org.gradle.status": "release"
}
Expand Down Expand Up @@ -36,13 +36,13 @@
],
"files": [
{
"name": "specmatic-kafka-0.22.7-TRIAL.jar",
"url": "specmatic-kafka-0.22.7-TRIAL.jar",
"size": 506130,
"sha512": "e13a5329a975c8edce8420d7ae4dfeda6078a4b973426b982483437fdeeefcab063c25c6e5baa90a5546b19b33c5d7afee1d562f14c2f2f73af9dcf298c65f2a",
"sha256": "0affb8042818cf0ad1d67941bfe0ea2a9386a10cd368a0338356d84afd7d84cb",
"sha1": "132bab4cef8c86baa48926c1bce33d4bf5f50314",
"md5": "3127a18c55f567836a00561a32cceccf"
"name": "specmatic-kafka-0.22.8-TRIAL.jar",
"url": "specmatic-kafka-0.22.8-TRIAL.jar",
"size": 494904,
"sha512": "f68cf7fdf1ec791f0bdb8b52b2ed32c4cf76c586a0ad4d095db3dc56c3f8ce9d21aeeae3637cab886b1d20e477661df66cf75fcfacd2c106190fe67417052dac",
"sha256": "197991cd75f1685fad2452616934cad1ec5773489de3fb1b481cced82c9506dc",
"sha1": "119b792bc5cb873495aadf00134b70796998dfa2",
"md5": "efcc80dbb7b4ede8ddd7559dda27ac97"
}
]
},
Expand Down Expand Up @@ -270,13 +270,13 @@
],
"files": [
{
"name": "specmatic-kafka-0.22.7-TRIAL.jar",
"url": "specmatic-kafka-0.22.7-TRIAL.jar",
"size": 506130,
"sha512": "e13a5329a975c8edce8420d7ae4dfeda6078a4b973426b982483437fdeeefcab063c25c6e5baa90a5546b19b33c5d7afee1d562f14c2f2f73af9dcf298c65f2a",
"sha256": "0affb8042818cf0ad1d67941bfe0ea2a9386a10cd368a0338356d84afd7d84cb",
"sha1": "132bab4cef8c86baa48926c1bce33d4bf5f50314",
"md5": "3127a18c55f567836a00561a32cceccf"
"name": "specmatic-kafka-0.22.8-TRIAL.jar",
"url": "specmatic-kafka-0.22.8-TRIAL.jar",
"size": 494904,
"sha512": "f68cf7fdf1ec791f0bdb8b52b2ed32c4cf76c586a0ad4d095db3dc56c3f8ce9d21aeeae3637cab886b1d20e477661df66cf75fcfacd2c106190fe67417052dac",
"sha256": "197991cd75f1685fad2452616934cad1ec5773489de3fb1b481cced82c9506dc",
"sha1": "119b792bc5cb873495aadf00134b70796998dfa2",
"md5": "efcc80dbb7b4ede8ddd7559dda27ac97"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.specmatic</groupId>
<artifactId>specmatic-kafka</artifactId>
<version>0.22.7-TRIAL</version>
<version>0.22.8-TRIAL</version>
<name>Specmatic Kafka</name>
<description>Specmatic Smart-Mock for Kafka</description>
<url>https://specmatic.io</url>
Expand Down

0 comments on commit 7b347d6

Please sign in to comment.