Skip to content

Instantly share code, notes, and snippets.

function kctx() {
_die() {
printf '%s\n' "$1" >&2
return 1
}
context="$1"
context_config_dir="$HOME/.kube/ctxcfg"
if [ -f "${context_config_dir}/${context}" ] ; then
@posener
posener / go-kit.md
Last active February 23, 2024 21:35
Why I Recommend to Avoid Using the go-kit Library

Why I Recommend to Avoid Using the go-kit Library

There is a trending 'microservice' library called go-kit. I've been using the go-kit library for a while now. The library provide a lot of convenience integrations that you might need in your service: with service discovery with Consul, distributed tracing with Zipkin, for example, and nice logic utilities such as round robin client side load balancing, and circuit breaking. It is also providing a way to implement communication layer, with support of RPC and REST.