// Module included in the following assemblies:
//
// deploying/assembly_deploy-verify.adoc
// getting-started.adoc

[id='deploying-example-clients-{context}']
= Deploying example clients

[role="_abstract"]
Deploy example producer and consumer clients to send and receive messages.
You can use these clients to verify a deployment of Strimzi. 

.Prerequisites

* The Kafka cluster is available for the clients.

.Procedure

. Deploy a Kafka producer.
+
[source,shell,subs="+quotes,attributes+"]
kubectl run kafka-producer -ti --image={DockerKafka} --rm=true --restart=Never -- bin/kafka-console-producer.sh --bootstrap-server _cluster-name_-kafka-bootstrap:9092 --topic _my-topic_

. Type a message into the console where the producer is running.

. Press _Enter_ to send the message.

. Deploy a Kafka consumer.
+
[source,shell,subs="+quotes,attributes+"]
kubectl run kafka-consumer -ti --image={DockerKafka} --rm=true --restart=Never -- bin/kafka-console-consumer.sh --bootstrap-server _cluster-name_-kafka-bootstrap:9092 --topic _my-topic_ --from-beginning

. Confirm that you see the incoming messages in the consumer console.
