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
type COPArg = Long :+: String :+: Int :+: CNil | |
case class NonADT(name: String, surname: String) | |
object NonADT { | |
implicit val nonAdt: AvroType[NonADT] = record2("NonADT")(NonADT.apply)( | |
"name" -> member(string, _.name), | |
"surname" -> member(string, _.surname) | |
) | |
} |
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
muradm@lab1:~$ docker exec -it consul.4w3626u9ki8meruhush6arvhf.02vg6igz9xb7sm5v36lfk9bh0 consul info | |
agent: | |
check_monitors = 0 | |
check_ttls = 0 | |
checks = 0 | |
services = 1 | |
build: | |
prerelease = | |
revision = 'a189091 | |
version = 0.7.0 |
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
LAB1: | |
2016-09-30T07:23:07.179341+04:00 lab1 consul[36768]: ==> Found address '10.100.0.2' for interface 'eth2', setting bind option... | |
2016-09-30T07:23:07.187363+04:00 lab1 consul[36768]: ==> Starting Consul agent... | |
2016-09-30T07:23:07.409924+04:00 lab1 consul[36768]: ==> Starting Consul agent RPC... | |
2016-09-30T07:23:07.410140+04:00 lab1 consul[36768]: ==> Consul agent running! | |
2016-09-30T07:23:07.410273+04:00 lab1 consul[36768]: Version: 'v0.7.0' | |
2016-09-30T07:23:07.410373+04:00 lab1 consul[36768]: Node name: '1ec48b592c2f' | |
2016-09-30T07:23:07.410445+04:00 lab1 consul[36768]: Datacenter: 'lab-dc' | |
2016-09-30T07:23:07.410512+04:00 lab1 consul[36768]: Server: true (bootstrap: false) |
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
muradm@lab1:/srv/docker$ curl -s --unix-socket /var/run/docker.sock http:/services | jq | |
[ | |
{ | |
"ID": "0vh2t5cvdfi584iesn9tn3u9l", | |
"Version": { | |
"Index": 1368 | |
}, | |
"CreatedAt": "2016-09-29T14:17:49.028363091Z", | |
"UpdatedAt": "2016-09-29T14:28:46.192954998Z", | |
"Spec": { |
NewerOlder