{"id":1199,"date":"2020-07-15T13:58:54","date_gmt":"2020-07-15T18:58:54","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1199"},"modified":"2020-07-15T13:58:54","modified_gmt":"2020-07-15T18:58:54","slug":"how-to-install-apache-kafka-on-debian-9","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/","title":{"rendered":"How to Install Apache Kafka on Debian 9"},"content":{"rendered":"<div id=\"linux-4256617867\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-1202\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/install-configure-apache-kafka-on-debian9-server.jpg\" alt=\"\" width=\"120\" height=\"195\" \/>Apache Kafka is a free and open-source distributed streaming software platform that lets you publish and subscribe to streams of records and store streams of records in a fault-tolerant and durable manner. Apache Kafka is written in Scala and Java. Used in thousands of companies across the world, Apache Kafka provides anyone with the ability to create streaming and stream processing applications that can read and store data in real time. This has a variety of use cases &#8211; anything from logging, to messaging, to processing almost any sort of data stream you could imagine. Let&#8217;s get started with the installation.<\/p>\n<p><!--more--><\/p>\n<p>In order to run Apache Kafka on your VPS, the following requirements have to be met:<\/p>\n<ul>\n<li>Java 8 or higher needs to be installed<\/li>\n<li>ZooKeeper installed and running on the server<\/li>\n<li>A VPS with at least 4GB of RAM<\/li>\n<\/ul>\n<p>If you don&#8217;t have Java or ZooKeeper, don&#8217;t worry, we&#8217;ll be installing them in this tutorial as well.<\/p>\n<h2>Step 1 &#8211; Update OS Packages<\/h2>\n<p>Before we can start with the Apache Kafka installation, we have to make sure that all Debian OS packages that are installed on the server are up to date. We can do this by executing the following commands:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get upgrade<\/pre>\n<h2>Step 2 &#8211; Install JAVA<\/h2>\n<p>In order to run Apache Kafka on our server, we&#8217;ll need to have Java installed. We can check if Java is already installed using this command:<\/p>\n<pre>which java<\/pre>\n<p>If there is no output, that means that Java is not installed on the server yet. We can install it using the following command:<\/p>\n<pre>sudo apt-get install default-jdk<\/pre>\n<p>In order to check the Java version, run the following command on your server:<\/p>\n<pre>java -version<\/pre>\n<p>We should receive the following output:<\/p>\n<pre>openjdk version \"1.8.0_181\"\r\nOpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)\r\nOpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)<\/pre>\n<h2>Step 3 &#8211; Install Zookeeper<\/h2>\n<p>Kafka uses ZooKeeper to store persistent cluster metadata, so we need to install ZooKeeper. The ZooKeeper service is responsible for configuration management, leader detection, synchronization, etc. ZooKeeper is\u00a0available in the official Debian package repository, so we can install it using the following command:<\/p>\n<pre>sudo apt-get install zookeeperd<\/pre>\n<p>ZooKeeper is running on port 2181 and it doesn&#8217;t require much maintenance.<\/p>\n<h2>Step 4 &#8211; Install Apache Kafka<\/h2>\n<p>Crate a new system user dedicated for the Kafka service using the following command (we&#8217;re using the <code>kafka<\/code> name for our username, you can use any name you like):<\/p>\n<pre>useradd kafka -m<\/pre>\n<p>Set a password for the newly created user:<\/p>\n<pre>passwd kafka<\/pre>\n<p>Use a strong password and enter it twice. Next, add the user to the <code>sudo<\/code> group with:<\/p>\n<pre>adduser kafka sudo<\/pre>\n<p>Stop the ZooKeeper service:<\/p>\n<pre>systemctl stop zookeeper.service<\/pre>\n<p>Log in as the newly created admin user with:<\/p>\n<pre>su kafka<\/pre>\n<p>Download the latest version of Apache Kafka available at\u00a0https:\/\/kafka.apache.org\/downloads and extract it in a directory on your server:<\/p>\n<pre>cd ~\r\nwget -O kafka.tgz http:\/\/apache.osuosl.org\/kafka\/2.1.0\/kafka_2.12-2.1.0.tgz\r\ntar -xvzf kafka.tgz\r\nmv kafka_2.12-2.1.0\/* .\r\nrmdir \/home\/kafka\/kafka_2.12-2.1.0<\/pre>\n<p>Edit the ZooKeeper systemd script:<\/p>\n<pre>vi \/lib\/systemd\/system\/zookeeper.service<\/pre>\n<pre>[Unit]\r\nRequires=network.target remote-fs.target\r\nAfter=network.target remote-fs.target\r\n\r\n[Service]\r\nType=simple\r\nUser=kafka\r\nExecStart=\/home\/kafka\/bin\/zookeeper-server-start.sh \/home\/kafka\/config\/zookeeper.properties\r\nExecStop=\/home\/kafka\/bin\/zookeeper-server-stop.sh\r\nRestart=on-abnormal\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/pre>\n<p>Create a <code>systemd<\/code> unit file for Apache Kafka, so that you can run Kafka as a service on your server:<\/p>\n<pre>vi \/etc\/systemd\/system\/kafka.service<\/pre>\n<p>Add the following lines:<\/p>\n<pre>[Unit]\r\nRequires=network.target remote-fs.target zookeeper.service\r\nAfter=network.target remote-fs.target zookeeper.service\r\n\r\n[Service]\r\nType=simple\r\nUser=kafka\r\nExecStart=\/home\/kafka\/bin\/kafka-server-start.sh \/home\/kafka\/config\/server.properties\r\nExecStop=\/home\/kafka\/bin\/kafka-server-stop.sh\r\nRestart=on-abnormal\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<p>Edit the <code>server.properties<\/code> file and add\/modify the following properties:<\/p>\n<pre>vi \/home\/kafka\/config\/server.properties<\/pre>\n<pre>listeners=PLAINTEXT:\/\/:9092\r\nlog.dirs=\/var\/log\/kafka<\/pre>\n<p>After we make changes to a unit file, we should always run the <code>systemctl daemon-reload<\/code> command:<\/p>\n<pre>systemctl daemon-reload<\/pre>\n<p>Create a new directory called <code>kafka<\/code> in the <code>\/var\/log\/<\/code> directory on your server:<\/p>\n<pre>mkdir -p \/var\/log\/kafka<\/pre>\n<pre>chown kafka:kafka -R \/var\/log\/kafka<\/pre>\n<p>This can be useful for troubleshooting. Then, start the ZooKeeper and\u00a0 Apache Kafka services:<\/p>\n<pre>systemctl start zookeeper.service\r\nsystemctl start kafka.service<\/pre>\n<p>Enable the Apache Kafka service to automatically start on server boot:<\/p>\n<pre>systemctl enable kafka.service<\/pre>\n<p>In order to check if ZooKeeper and Kafka services are up and running, run the following command on your VPS:<\/p>\n<pre>systemctl status zookeeper.service<\/pre>\n<p>We should then receive an output similar to this:<\/p>\n<pre>zookeeper.service\r\nLoaded: loaded (\/lib\/systemd\/system\/zookeeper.service; enabled; vendor preset: enabled)\r\nActive: active (running) since Wed 2018-12-19 06:23:33 EST; 25min ago\r\nMain PID: 20157 (java)\r\nTasks: 21 (limit: 4915)\r\nCGroup: \/system.slice\/zookeeper.service\r\n\u2514\u250020157 java -Xmx512M -Xms512M -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true -Xloggc:\/home\/kafka\/bin\/..\/l<\/pre>\n<p>Run this command next:<\/p>\n<pre>systemctl status kafka.service<\/pre>\n<p>The output of this command should be similar to this one:<\/p>\n<pre>kafka.service\r\nLoaded: loaded (\/etc\/systemd\/system\/kafka.service; disabled; vendor preset: enabled)\r\nActive: active (running) since Wed 2018-12-19 06:46:49 EST; 27s ago\r\nProcess: 22520 ExecStop=\/home\/kafka\/bin\/kafka-server-stop.sh (code=exited, status=0\/SUCCESS)\r\nMain PID: 22540 (java)\r\nTasks: 62 (limit: 4915)\r\nCGroup: \/system.slice\/kafka.service\r\n\u2514\u250022540 java -Xmx1G -Xms1G -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -Djava.awt.headless=true -Xloggc:\/home\/kafka\/bin\/..\/logs\/<\/pre>\n<p>We can also use netstat command to check if Kafka and ZooKeeper services are listening on ports 9092 and 2181, respectively:<\/p>\n<pre>netstat -tunlp | grep -e \\:9092 -e \\:2181\r\ntcp6       0      0 :::9092                 :::*                    LISTEN      22540\/java\r\ntcp6       0      0 :::2181                 :::*                    LISTEN      20157\/java<\/pre>\n<p>If they are both running, and both ports are open and listening, then that is all. We have successfully installed Apache Kafka.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1203\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/best-managed-apache-kafka-support-for-debian9-vps-server-help.jpg\" alt=\"\" width=\"120\" height=\"195\" \/>Of course, you don\u2019t have to install and configure Apache Kafka on Debian 9 if you use one of our\u00a0<a href=\"https:\/\/linuxhostsupport.com\/monthly-server-management.html\">Managed Debian Support<\/a> solutions, in which case you can simply ask our expert Linux admins to setup and configure Apache Kafka on Debian 9 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post on <strong>how to install Apache Kafka on a Debian 9 VPS<\/strong>, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p><div id=\"linux-2080504548\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS. Apache Kafka is a free and open-source distributed streaming software platform that lets you publish and subscribe to streams of records and store streams of records in a fault-tolerant and durable manner. Apache Kafka is written in Scala [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1201,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[67,148,28,81,147],"class_list":["post-1199","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-apache","tag-apache-kafka","tag-debian","tag-debian-9","tag-kafka"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Apache Kafka on Debian 9 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS. Apache Kafka is a free and open-source distributed streaming software\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Apache Kafka on Debian 9 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS. Apache Kafka is a free and open-source distributed streaming software\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-15T18:58:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install Apache Kafka on Debian 9\",\"datePublished\":\"2020-07-15T18:58:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/\"},\"wordCount\":723,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg\",\"keywords\":[\"apache\",\"apache kafka\",\"debian\",\"debian 9\",\"kafka\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/\",\"name\":\"How to Install Apache Kafka on Debian 9 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg\",\"datePublished\":\"2020-07-15T18:58:54+00:00\",\"author\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS. Apache Kafka is a free and open-source distributed streaming software\",\"breadcrumb\":{\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg\",\"contentUrl\":\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg\",\"width\":750,\"height\":410},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/linuxhostsupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Apache Kafka on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#website\",\"url\":\"https:\/\/linuxhostsupport.com\/blog\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Apache Kafka on Debian 9 | LinuxHostSupport","description":"In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS. Apache Kafka is a free and open-source distributed streaming software","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Apache Kafka on Debian 9 | LinuxHostSupport","og_description":"In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS. Apache Kafka is a free and open-source distributed streaming software","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2020-07-15T18:58:54+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install Apache Kafka on Debian 9","datePublished":"2020-07-15T18:58:54+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/"},"wordCount":723,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg","keywords":["apache","apache kafka","debian","debian 9","kafka"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/","name":"How to Install Apache Kafka on Debian 9 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg","datePublished":"2020-07-15T18:58:54+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this guide, we will show you how to install Apache Kafka on a Debian 9 VPS. Apache Kafka is a free and open-source distributed streaming software","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-apache-kafka-on-debian9.jpg","width":750,"height":410},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-apache-kafka-on-debian-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Apache Kafka on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1199"}],"version-history":[{"count":4,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1199\/revisions"}],"predecessor-version":[{"id":1212,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1199\/revisions\/1212"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1201"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}