Apache Kafka Quickstart Tutorial

apache kafka logo

Apache Kafka is a fault tolerant publish-subscribe streaming platform that lets you process streams of records as they occur. This Kafka Quickstart Tutorial walks through the steps needed to get Apache Kafka up and running on a single Linux/Unix machine. In this tutorial we use Ubuntu and Kafka 0.10.2.0. Installing Java Running Kafka requires Java.

read more

How to Remove Tags from a Git Repository

If you use tags with your Git repositories you know that sometimes it makes sense to remove/delete these tags. Below are samples of removing both local and remote tags from your Git repo. Delete Tag from Local Repository git tag -d <tag name> Delete Tag from Remote Repository (e.g. GitHub) git push origin :refs/tags/<tag name>

How to Start an Interactive Docker Container

Sometimes when working with Docker you just want to quickly start a container and interact with it through a shell. Fortunately this is easy to do. Here is an example of creating and running an Ubuntu container with a bash shell: docker run -it –rm ubuntu /bin/bash Here is the explanation of this command: docker

read more

How to List Tags in Git

Tags in Git are a way to bookmark specific commits. This is often done to indicate different versions or releases of a project. To list the tags you have previously created in the current repository use: git tag. For repositories with many tags it may be useful to find tags by name. This is possible

read more

How to Create tags in Git

“Lightweight” tags in Git are simply pointers to specific commits. You can create a lightweight tag on the command line using: git tag <tag name>. This will create a local tag on the current branch. Listing Tags in Git To list the tags you have previously created use: git tag. For repositories with many tags

read more

How to Display Window Tabs in Linux Screen

screen is a Linux program that allows users to create and manage multiple terminal instances. Using tabs to visually track multiple terminal windows is very convenient and luckily not too hard to do. Screen Window Tabs Example Here is an example of how to display window tabs in Linux screen. Simply add the below line

read more

Using Input Forms with Shell Scripts – Apache Zeppelin

Apache Zeppelin is a fantastic open source web-based software that allows users to build and share great looking data visualizations using various languages. If you aren’t familiar with using the shell interpreter in Apache Zeppelin, see our related post Creating Graphs with the Zeppelin Shell Interpreter. Apache Zeppelin allows dynamic creation of text input forms

read more

Using Input Forms with SQL Queries – Apache Zeppelin

Apache Zeppelin is a fantastic open source web-based software that allows users to build and share great looking data visualizations using various languages, including SQL. Apache Zeppelin allows dynamic creation of text input forms in your notebooks. Input forms can be created and referenced using a simple template language. For example, using ${variable_name} in a

read more

Creating Graphs with the Apache Zeppelin Shell Interpreter

Using Apache Zeppelin’s shell (sh) interpreter is a great way to run and share shell scripts. This way you can use all your favorite command line tools like sed and awk to create great looking visualizations using Apache Zeppelin. By default your shell output will not be displayed in a tabular format or leverage Zeppelin’s

read more

Connecting Apache Zeppelin to MySQL

zeppelin-mysql-graph

Apache Zeppelin is a fantastic open source web-based notebook. Zeppelin allows users to build and share great looking data visualizations using languages such as Scala, Python, SQL, etc. A common back end for Zeppelin in MySQL. Here are the steps needed to connect Zeppelin a remote MySQL database: Download the MySQL Connector The first thing

read more