Procedure to troubleshoot the logs.
- Navigate to Administration > Gateway > Data Connector.
- Open the connector.
- Start the collector, if it is in the stopped state.
- If the connector is still not updated in the user interface, then run the following command on the control plane node to view the latest log messages from the connector:
-
kubectl get kafkamirrormaker2 <Data connector Instance name from UI>
-
kubectl get pods | grep <Data connector Instance name from UI> | |awk '{print $1}'
- There are two pods for the connector open logs using the following commands:
kubectl logs -f <pod name from above command>
Note: Ensure that the external Kafka is up and running.
-