-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
56 lines (36 loc) · 754 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!make
fmt:
go fmt ./...
vet:
go vet ./...
up-all:
docker-compose up -d
down-all:
docker-compose down
## RabbitMQ
up-rabbitmq:
docker-compose up -d rabbitmq
down-rabbitmq:
docker-compose down -d rabbitmq
publish-rabbitmq:
go run main.go rabbitmq producer
consumer-rabbitmq:
go run main.go rabbitmq consumer
## Kafka
up-kafka:
docker-compose up -d zookeeper kafka
down-kafka:
docker-compose down -d zookeeper kafka
publish-kafka:
go run main.go kafka producer
consumer-kafka:
go run main.go kafka consumer
## ActiveMQ Artemis
up-activemq:
docker-compose up -d activemq
down-activemq:
docker-compose down -d activemq
publish-activemq:
go run main.go activemq producer
consumer-activemq:
go run main.go activemq consumer