There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The --topic parameter sets the name of the topic; in this case, amazingTopic."
A block of code is set as follows:
{
"event": "CUSTOMER_CONSULTS_ETHPRICE",
"customer": {
"id": "14862768",
"name": "Snowden, Edward",
"ipAddress": "95.31.18.111"
},
"currency": {
"name": "ethereum",
"price": "RUB"
},
"timestamp": "2018-09-28T09:09:09Z"
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
dependencies {
compile group: 'org.apache.kafka', name: 'kafka_2.12', version:
'2.0.0'
compile group: 'com.maxmind.geoip', name: 'geoip-api', version:
'1.3.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.7'
}
Any command-line input or output is written as follows:
> <confluent-path>/bin/kafka-topics.sh --list --ZooKeeper localhost:2181
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "To differentiate among them, the events on t1 have one stripe, the events on t2 have two stripes, and the events on t3 have three stripes."
Warnings or important notes appear like this.
Tips and tricks appear like this.