Member since
05-30-2018
26
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5658 | 06-01-2018 05:48 AM |
06-14-2018
05:09 AM
I am using normal kafka in ubuntu. I created /home/kafka/bin/tmp/a.txt Then tried to produce it as bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test < /tmp/a.txt But it gives me same error as bash: /tmp/a.txt: No such file or directory
... View more
06-12-2018
04:48 AM
Hi @Vinicius Higa Murakami I removed zookeeper,kafka and their respective log directories. I installed zookeeper and kafka again. So for the first time messages were consumed and published too on the terminal interface. After that I stopped kafka and restarted kafka again... from this point the message is not getting consumed. Why this is happening ? This is very unusal from kafka 😞
... View more
06-11-2018
10:47 AM
I am following https://kafka.apache.org/quickstart and few weeks earlier everything was working well, but when I started it over again today is not working, I am using kafka_2.11-1.1.0.
I created the new topic 'rahul' with the following command : bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic rahul
Created topic "rahul" I also re-checked the topics with bin/kafka-topics.sh --list --zookeeper localhost:2181 `__consumer_offsets
rahhy
rahul` started the producer: bin/kafka-console-producer.sh --broker-list localhost:9092 --topic rahul
hey
>hi
>hello But when the time comes to consumer to show the messages: there is nothing although the command seems to be executed, but no messages. bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic rahul --from-beginning
I even tried consuming both ways as zookeeper and bootstrap server, but none of them are giving messages published.
... View more
Labels:
- Labels:
-
Apache Kafka
06-09-2018
10:16 AM
@Vinicius Higa Murakami Actually The data is in influxdb ...so how the data can come from influxdb to kafka and then finally into HDFS ?
... View more
06-09-2018
06:35 AM
I understood the concept of `Producer` and `Consumer` done by you manually above and also by referring to Step 3,4 and 5 in https://kafka.apache.org/quickstart
But referring to
https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_kafka-component-guide/content/ch_kafka-development.html
Do I need to put codes of `Producer` and `Consumer` from this link to a `gedit` file, so that data can be send from Kafka to HDFS ??
... View more
06-08-2018
01:05 PM
1 Kudo
I want to push data into HDFS through Kakfa. So I not getting how to first get data into kafka, if the data format is csv/xsl what should be the procedure to get that data into kafka and further push it in HDFS ?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Kafka
06-07-2018
03:10 PM
@Vinicius I m right now at a beginner stage of learning kafka. Just running a single instance on my local system ...havn't thought of working on clusters. But It is nice to get in touch with u and enhance my knowledge. Thanks once again 🙂
... View more
06-07-2018
11:53 AM
its working Thank you experts @Felix Albani and @Vinicius Higa Murakami
... View more
06-07-2018
06:00 AM
Yes, it is working as a root user Thanks @Vinicius Higa Murakami
... View more
06-07-2018
05:59 AM
Yes, it is working as a root user Thanks @Felix Albani
... View more
06-06-2018
12:23 PM
when I am trying to start kafka with the following command : `bin/kafka-server-start.sh config/server.properties` I am getting this error every time Cannot open file /opt/kafka_2.11-1.1.0/bin/../logs/kafkaServer-gc.log due to Permission denied. how to fix this ...
... View more
Labels:
- Labels:
-
Apache Kafka
06-05-2018
09:57 AM
When trying to use kafka connect using following command : bin /connect-standalone .sh config /connect-standalone .properties config /connect-file-source .properties config /connect-file-sink .properties It throws a error as `WARN FAILED http_8083@773e2eb5{HTTP/1.1}{0.0.0.0:8083}: java.net.BindException: Address already in use (org.eclipse.jetty.util.component.AbstractLifeCycle:212)` and finally ends with the line `INFO Kafka Connect stopped` How can I change my Kafka-Connect port from 8083 to other port ?
... View more
Labels:
- Labels:
-
Apache Kafka
06-04-2018
12:28 PM
While going through the apache official page <https://kafka.apache.org/quickstart> A text file is created as `echo -e "foo\nbar" > test.txt` And to use kakfa connect following command is used `bin/connect-standalone.sh config/connect-standalone.properties config/connect-file-source.properties config/connect-file-sink.properties` But while above command gets executed it shows a message kafka-connect stopped
... View more
Labels:
- Labels:
-
Apache Kafka
06-04-2018
03:54 AM
Thanks @Abdelkrim Hadjidj I understood the difference 🙂
... View more
06-02-2018
12:47 PM
Kafka uses Producer/Consumer concept whime MQTT uses Subscribe/Publish concept ...so How Kafka is different from MQTT ? Can Kafka handle more works than MQTT with its features ?
... View more
Labels:
- Labels:
-
Apache Kafka
06-01-2018
05:48 AM
Okay ! after a bit of search on stackoverflow I came across the command `sudo chown -R $USER:$USER /home/rahul/nifi-1.6.0` that will give the permission to the folder to alter the changes with permission to read and write, and Bingo !!! it worked . And after firing the command mentioned in above, there is no error as following : Exception in thread "main" java.io.IOException: /home/nifi-1.6.0/run directory does not have read/write privilege Thanks @Matt Clarke @Jay Kumar SenSharma
... View more
06-01-2018
03:45 AM
Still showing same error
... View more
06-01-2018
03:41 AM
I started nifi just now and it is showing too in the nifi-bootstrap.log I ran ps -ef|grep "TIME\|nifi-1" which gave following result as shown in the image, but still java.io.exception is there...
... View more
05-31-2018
12:00 PM
I have installed Nifi-1.6.0 and when I fire the command `./nifi.sh start` in terminal, it is showing `Exception in thread "main" java.io.IOException: /home/nifi-1.6.0/run directory does not have read/write privilege `. Although on browser GUI, Nifi is coming well on `localhost:8080/nifi `.
... View more
Labels:
- Labels:
-
Apache NiFi
05-31-2018
10:09 AM
While I am making a dataflow from MQTT-FX to influxdb in Apache nifi, I am getting a error `Cannot automatically terminate 'Message' relationship because a Connection already exists with this relationship` while configuring the Consumemqtt processor. How to resolve this ?
... View more
- Tags:
- nifi-processor
Labels:
- Labels:
-
Apache NiFi
05-31-2018
04:32 AM
I want to add a Influxdb processor in Apache Nifi. Kindly tell me how to proceed. I am using Apache nifi-1.4.0 and I need to add Influxdb processor .
... View more
Labels:
- Labels:
-
Apache NiFi
05-30-2018
12:15 PM
Kindly help me with the procedure how to upgrade to latest Nifi version ? I have installed Nifi-1.4.0 but i need to update it to nifi-1.6.0 which is the latest version.
... View more
Labels:
- Labels:
-
Apache NiFi