-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0009d7
commit 5ad6833
Showing
5 changed files
with
17 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
.PHONY: test | ||
test: | ||
go test ./... -v --tags=integration | ||
|
||
.PHONY: build | ||
build: | ||
docker compose up -d | ||
|
||
.PHONY: clean | ||
clean: | ||
docker compose down --rmi all --volumes | ||
|
||
.PHONY: code-gen | ||
code-gen: | ||
go generate ./... | ||
|
||
.PHONY: schema-gen | ||
schema-gen: | ||
go run script/avsc2json/main.go schema/avro/expense.avsc > docker/schema/expense.json |
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,10 @@ | ||
# Event Shark: A Serverless Kafka Event Publisher Testing Framework | ||
|
||
* Accelerate your Kafka-driven development: Event Shark makes it easy to test consumer applications in isolation. | ||
* Gain confidence in your consumer code: Simulate real-world publisher behavior for comprehensive testing. | ||
* Optimize performance: Run targeted performance tests on consumer applications without complex publisher dependencies. | ||
|
||
<img src="./docs/assets/Architecture.png" width="800"> | ||
|
||
Event Shark is a Serverless framework which fill in the gap for kafka event publisher by exposing the eventing as simple json request. | ||
Using this the consumer applcations can simulate the publisher behaviour and test their systems independently, not just the integration testing this can also help to run the performance testing for the consumer driven applications. |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
version: '3.8' | ||
services: | ||
event-publisher: | ||
event-shark: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.