An open API service indexing awesome lists of open source software.

https://github.com/mvillafuertem/microservices

PoC Microservices
https://github.com/mvillafuertem/microservices

akka asciidoctor docker gradle ibatis java9 kibana kubernetes mockito mongodb mysql rabbitmq scala spring-amqp spring-aop spring-boot spring-data

Last synced: about 2 months ago
JSON representation

PoC Microservices

Awesome Lists containing this project

README

          

= Microservices
include::attributes.adoc[]

Welcome to the Microservices!

== Services

[horizontal]
<> :: Control access
<> :: Send email
<> :: Rewards program offered
<> :: Products
<> :: User identities

== Data

[horizontal]
<> :: Cassandra
<> :: Redis
<> :: Kafka

== Infrastructure

[horizontal]
<> :: Containers
<> :: Dashboard
<> :: AlertManager, PushGateway

== JMX

----

-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.rmi.port=1099
-Djava.rmi.server.hostname=127.0.0.1

kubectl port-forward 1099

jconsole 127.0.0.1:1099

----

https://visualvm.github.io

image::docs/visualvm.png[]

=== Kafka for Mac

[source, bash, numbered, indent=0]
.Kafka Docker
----

http://wurstmeister.github.io/kafka-docker/

# Edit Kafka HOST docker.for.mac.localhost
vi docker-compose.yml

# Init Shell
./start-kafka-shell.sh docker.for.mac.localhost docker.for.mac.localhost:2181

# Create Topic
$KAFKA_HOME/bin/kafka-topics.sh --create --topic akka --partitions 4 --zookeeper $ZK --replication-factor 1

# Producer
$KAFKA_HOME/bin/kafka-console-producer.sh --topic=akka --broker-list=`broker-list.sh`

# Consumer
$KAFKA_HOME/bin/kafka-console-consumer.sh --topic=akka --bootstrap-server=`broker-list.sh`

----