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
package consumer | |
import ( | |
"context" | |
"fmt" | |
"github.com/aws/aws-sdk-go/aws/awserr" | |
"github.com/aws/aws-sdk-go/service/kinesis" | |
"github.com/pkg/errors" | |
"sync" | |
"time" |
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
kubectl delete all --all --namespace=ns | |
kubectl delete --all ingress --namespace=ns |
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
apt-get install libtool autoconf gettext unzip -y | |
mkdir -p /opt && cd /opt && \ | |
wget https://github.com/thkukuk/libnsl/archive/v1.2.0.zip && \ | |
unzip v1.2.0.zip && rm v1.2.0.zip && \ | |
cd /opt/libnsl-1.2.0 && \ | |
./autogen.sh && ./configure && cmake && make install |
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
package main | |
import ( | |
"bytes" | |
"cloud.google.com/go/storage" | |
"context" | |
"fmt" | |
"github.com/motemen/go-loghttp" | |
"github.com/pkg/errors" | |
"github.com/spf13/viper" |