Rate This Document
Findability
Accuracy
Completeness
Readability

Errors Reported Continuously After the Kafka Script Is Run

Symptom

After the Kafka script is executed, errors are continuously reported.

Key Process and Cause Analysis

None

Conclusion and Solution

  1. Stop the producer process.
    1
    kill -9 $(ps -ef  | grep producer | grep -v grep | awk '{print $2}')
    
  2. Stop the consumer process.
    1
    kill -9 $(ps -ef  | grep consumer | grep -v grep | awk '{print $2}')
    

    You can also restart the Kafka component to resolve the problem.