Skip to content

Instantly share code, notes, and snippets.

View sawano's full-sized avatar

Daniel Sawano sawano

View GitHub Profile
@sawano
sawano / Begin.java
Last active December 18, 2015 08:09
Java example of fold/reduce in Akka. Point of interest is totalResult(List<Future<Object>> answers).
package se.sawano.akka.example.java.reduce;
import java.io.Serializable;
public class Begin implements Serializable {
}
@sawano
sawano / kafka-Dockerfile
Last active December 12, 2016 14:31
Dockerfile with Kafka, kafka-monitor, and kafka-manager
#
# Builds a Kafka image to play around with. Includes Kafka (with Zookeeper), kafka-monitor, and kafka manager.
# Care have been taken to make the image size as samll as possible.
#
# Quickstart commands:
#
# docker build -t kafkauser/kafka-dev:0.10.1.0 .
# docker run -it -p 2181:2181 -p 9092:9092 -p 9093:9093 -p 9094:9094 -p 8000:8000 -p 9000:9000 --name kafka kafkauser/kafka-dev:0.10.1.0
# /kafka/start_all.sh
# /kafka-monitor/start.sh
@sawano
sawano / README.md
Last active September 27, 2018 11:32
Fetching artifacts from Nexus 3