concept topic in category java

appears as: topic, topics, topic
Get Programming with Java

This is an excerpt from Manning's book Get Programming with Java.

Lesson 2 introduced the topic of classes and objects which are required for any object-oriented (OO) programming language. In a later lesson, I will review the concept of Inheritance in much more detail, but to help understand the concepts of visibility modifiers, I want to explain the relationship of a class and subclass. In Java, we can create a ‘child’ class using another class as the ‘parent’.  This new class becomes a subclass and the parent is called the superclass.  This is one of the strengths of Java, it is referred to as inheritance.  Inheritance allows us to create a class that inherits all the public and protected information from the superclass and adds any additional information necessary for the subclass. For example, our Car class could be a subclass of a Vehicle class.

 This lesson introduces the topic of the Standard Java API and provides examples of some of the more commonly used classes included in the library. 

Enterprise Java Microservices

This is an excerpt from Manning's book Enterprise Java Microservices.

What kinds of data apply to data streaming? In a nutshell, pretty much any type of data could be useful in the context of data streaming. Common examples include measurements from vehicle sensors, real-time share prices from the stock market, and trending topics from social networks and sites.

To use Kafka, you need to create a topic for your records. Let’s do that within the Terminal tab:

./bin/kafka-topics.sh --create --topic category_topic --replication-factor
1 --partitions 1 --zookeeper 172.30.93.118:2181

You use a Kafka script to create a topic named category_topic that has only a single partition and a single replication. You specify only single replication and partition because you have a single broker in the cluster. For instance, if you had three brokers in the cluster, you could use three partitions and a replication factor of 2.

Apache Kafka also uses semantics that are familiar to Enterprise Java developers that have integrated with messaging systems. There are producers, which generate records or events that are added to the stream, equivalent to the multiple sources present in figure 11.1 previously. Each stream of records is referred to as a topic, and anything that reads records from the stream is a consumer. Figure 11.2 shows how producers and consumers integrate with Apache Kafka.