Starting a personal node project could be easy; starting a team node project could be challenging.
I am a developer currently working in SEEK Australia.
In my experience, common mistakes developer make when starting a projects are:
- No Linting
Starting a personal node project could be easy; starting a team node project could be challenging.
I am a developer currently working in SEEK Australia.
In my experience, common mistakes developer make when starting a projects are:
#!/bin/bash | |
if [ $# -ne 2 ]; then | |
>&2 echo "usage: $0 <kafka_binary_folder> <bootstrap.server>" | |
>&2 echo | |
>&2 echo "It outputs the list of topics consumed by consumergroup as csv." | |
>&2 echo "With the following structure:" | |
>&2 echo " <consumer>,<topic>" | |
exit 1 | |
fi |
#!/bin/sh | |
sudo apt-get update && sudo apt-get upgrade -y | |
# jq is a sed-like tool that is specifically built to deal with JSON format. | |
sudo apt-get install jq -y | |
# install the latest version of the IBM Cloud CLI tool by issuing the command, make sure you have a minimum version of Docker 1.13.1 installed before installing this tool. | |
curl -sL http://ibm.biz/idt-installer | bash |
package main | |
import ( | |
"fmt" | |
"log" | |
"time" | |
) | |
func main() { | |
queue := NewQueue("amqp://guest:guest@localhost:5672/", "hello") |
# Deployments | |
# -------------------------------------------------------------------- | |
--- | |
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: stilton | |
namespace: dev | |
labels: |
version: "3" | |
networks: | |
kong-net: | |
driver: bridge | |
services: | |
####################################### | |
# Postgres: The database used by Kong |
proxy_cache_path /tmp/cacheapi levels=1:2 keys_zone=microcacheapi:100m max_size=1g inactive=1d use_temp_path=off; | |
server { | |
listen 443 ssl http2 default_server; | |
listen [::]:443 ssl http2 default_server; | |
server_name example.com; | |
location /api/ { | |
# Rate Limiting | |
limit_req zone=reqlimit burst=20; # Max burst of request |
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: fluentd-config | |
namespace: kube-system | |
data: | |
kubernetes.conf: |- | |
<match fluent.**> | |
@type null |
This has been updated to install Dashboard v2.0.0, see below for pre v2.0.0 instructions
Generate the kubeconfig file for your cluster using the Kubeconfig File
button in the Cluster view of your cluster.
All these are already installed on epyc.
kafkacat
(conda install -c conda-forge kafkacat
)
kt
(grab it from https://github.com/fgeller/kt/releases)
kafka-*
(come with kafka, if you yum install
if from Confluent's repo, or via Docker if you're so inclined). Warning -- JVM based and dreadfully slow.
jq
(conda install -c conda-forge jq
or use your favorite package manager)