bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
gateway_1 | time="2019-07-01T03:11:43.355216683Z" level=info msg="response: 232307015a48525a31564732454a4f30324738564c0100061307010b0b1328" _source="inline_server/main.go:263"
gateway_1 | time="2019-07-01T03:11:43.355539853Z" level=debug msg="integralPackage: 232307fe4f3931534133354958313338554742494a0100061307010b0b1ede" _source="gateway/splitter_inline.go:71"
gateway_1 | time="2019-07-01T03:11:43.356061739Z" level=debug msg="frag: " _source="gateway/splitter_inline.go:44"
gateway_1 | time="2019-07-01T03:11:43.356307058Z" level=debug msg="checksum: da" _source="pkg/bcc.go:10"
gateway_1 | time="2019-07-01T03:11:43.357224651Z" level=debug msg="command flag: 2" _source="gateway/response.go:12"
gateway_1 | time="2019-07-01T03:11:43.357654491Z" level=debug msg="update: YV8VI9ZAH2I8EEK00" _source="gateway/connections.go:18"
gateway_1 | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
# ------------------------------------------------ | |
# Config files are located in /etc/wireguard/wg0 | |
# ------------------------------------------------ | |
# ---------- Server Config ---------- | |
[Interface] | |
Address = 10.10.0.1/24 # IPV4 CIDR | |
Address = fd86:ea04:1111::1/64 # IPV6 CIDR | |
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE; ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE # Add forwarding when VPN is started | |
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE; ip6tables -D FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -D POSTROUTING -o eth0 -j MASQUERADE # Remove forwarding when VPN is shutdown |