// Module included in the following assemblies:
//
// assembly-kafka-bridge-quickstart.adoc

[id='proc-exposing-kafka-bridge-service-local-machine-{context}']
= Exposing the Kafka Bridge service to your local machine

Next, use port forwarding to expose the Strimzi Kafka Bridge service to your local machine on http://localhost:8080.

NOTE: Port forwarding is only suitable for development and testing purposes.

.Procedure

. List the names of the pods in your Kubernetes cluster:
+
[source,shell,subs=attributes+]
----
kubectl get pods -o name

pod/kafka-consumer
# ...
pod/quickstart-bridge-589d78784d-9jcnr
pod/strimzi-cluster-operator-76bcf9bc76-8dnfm
----

. Connect to the `quickstart-bridge` pod on port `8080`:
+
[source,shell,subs=attributes+]
----
kubectl port-forward pod/quickstart-bridge-589d78784d-9jcnr 8080:8080 &
----
+
NOTE: If port 8080 on your local machine is already in use, use an alternative HTTP port, such as `8008`.

API requests are now forwarded from port 8080 on your local machine to port 8080 in the Kafka Bridge pod.
