You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ka Wai, Michael Cheung" <mi...@yahoo.com.hk.INVALID> on 2025/08/25 13:42:41 UTC

Error In Tutorial: Write a Kafka Streams Application

Hi Team,
I am new to Kafka and tried to use docker to complete Run Kafka Streams Demo Application (Apache Kafka). However, I encountered error when I reached "Step 4: Start the Wordcount Application". After trying, I found that if I do apk add libstdc++ using root account in the container, the error is gone.
Could you please see if this it the correct behaviour? Thanks!
Docker Image (followed instructions in https://kafka.apache.org/quickstart): $ docker pull apache/kafka:4.0.0
Best regards,
Michael
Links in the message (2)

|  |  | 
Apache Kafka
 |


Re: Error In Tutorial: Write a Kafka Streams Application

Posted by Kuan Po Tseng <br...@apache.org>.
Hi Michael,

I tried pulling the image with 

docker pull apache/kafka:4.0.0

docker run -p 9092:9092 apache/kafka:4.0.0

and followed steps 3 to 5 from the Streams quickstart guide. 

The word count demo app worked as expected, and I didn’t need to install libstdc++.

Could you share more details on what error you encountered?

Best,
Kuan-Po Tseng

On 2025/08/25 13:42:41 "Ka Wai, Michael Cheung" wrote:
> Hi Team,
> I am new to Kafka and tried to use docker to complete Run Kafka Streams Demo Application (Apache Kafka). However, I encountered error when I reached "Step 4: Start the Wordcount Application". After trying, I found that if I do apk add libstdc++ using root account in the container, the error is gone.
> Could you please see if this it the correct behaviour? Thanks!
> Docker Image (followed instructions in https://kafka.apache.org/quickstart): $ docker pull apache/kafka:4.0.0
> Best regards,
> Michael
> Links in the message (2)
> 
> |  |  | 
> Apache Kafka
>  |
> 
>