Home » Archives for Mary Zheng

Author Archives: Mary Zheng

Mary has graduated from Mechanical Engineering department at ShangHai JiaoTong University. She also holds a Master degree in Computer Science from Webster University. During her studies she has been involved with a large number of projects ranging from programming and software engineering. She works as a senior Software Engineer in the telecommunications sector where she acts as a leader and works with others to design, implement, and monitor the software solution.

Solr Project using Solr Core as a Search Engine

In this article, we are going to introduce a Solr Project using Solr Core as a Search Engine. 1. Introduction Apache Solr is an open-source search platform based on Apache Lucene. It’s written in Java. A Solr Core refers to a single index and associated transaction log and configuration files. We can perform operations like indexing, analyzing, searching at a ...

Read More »

Apache Kafka Basic Operations Tutorial

This is a turorial about the Apache Kafka Basic Operations. 1. Introduction Apache Kafka is a streaming process software platform. In this example, I will show the following basic operations with a Windows computer: How to start/stop serverHow to create and list topicsHow to consume messages from a topic 2. Technologies Used The example commands in this article uses: Apache ...

Read More »

How to Download and Install Apache Kafka on Windows

In this example, I will show you how to download and install Apache Kafka on a Windows 10 machine. 1. Introduction If you develop an application utilizing Apache Kafka on a Windows computer, it’s better to have Apache Kafka installed locally so you can run integration testing at your workstation. 2. Prerequisite Apache Kafka requires JDK 1.8+. Apache Kafka 2.1.0+ ...

Read More »

Apache Kafka Tutorial for Beginners

This is a tutorial about Apache Kafka for beginners. 1. Introduction Apache Kafka is a streaming process software platform developed by Apache Software Foundation in Scala and Java. It was originally developed by LinkedIn. Here are common terminologies used in Kafka: Kafka cluster – Zookeeper manages it via server discovery.Kafka broker – it is a Kafka server.Record – it is ...

Read More »

Java Virtual Machine Tutorial

1. Introduction Java Virtual Machine (JVM) is a type of process virtual machine which designs to execute Java computer programs in a platform-independent environment. It was first released by Sun Microsystems in 1994 and then split into JVM specification and implementation in 2006. The JVM specification is maintained by Java Community Process (JCP). Click here for a list of JVM ...

Read More »

Java Swagger Tutorial

In this article, we will explain Java Swagger through a tutorial with examples. 1. Introduction Swagger was first released in 2011 to ease the Restful API documentation and client SDK generation during the development of Wordnik‘s products. In 2015, SmartBear software company donated the Swagger specification to open source which is sponsored by Linux Foundation, Google, IBM, and Microsoft. The ...

Read More »

The Difference Between map() and flatMap() Methods in Java

In this article, we are going to see the difference between map and flatMap methods in Java. 1. Introduction Java has provided Stream interface since version 8. The map() and flatMap() are two intermediate operations. Here are the method signatures: /* Returns a stream consisting of the results of applying the given function to the elements of this stream. Type ...

Read More »

Docker vs Kubernetes: The most important differences

In this article, we will introduce you to Docker vs Kubernetes and their most important differences. 1. Introduction Docker and Kubernetes are two open-source tools that work together to ensure that an application works anywhere and runs at the desired state all the time. The following diagram outlines developing, packaging, and deploying steps utilizing Docker and Kubernetes. Figure 1 Application ...

Read More »

What is Kubernetes

1. Introduction Kubernetes(k8s) is an open-source container-orchestration management tool that ensures that containers run in the “desired state” all the time. It was developed by Google and released as an open-source project in 2015. The word Kubernetes means “helmsman” in ancient Greek. Kubernetes is a tool that manages containers with easy deployment, monitoring, scalability, and auto-recovery. According to Kubernetes architecture, ...

Read More »

Hello World Docker Image

In this article, we will show how to build and run a Hello World Docker Image. 1. Introduction A Docker container image is a lightweight, standalone, and executable software package that includes everything needed to run an application. It uses the underlying operating system resources. In this example, I will use “Docker Desktop for Windows” to demonstrate: Build a “Hello ...

Read More »