Skip to content

Instantly share code, notes, and snippets.

@pranav-bhatt
Created August 17, 2021 12:37
Show Gist options
  • Save pranav-bhatt/d7a21fc7354dcdaf8e00a1bf9c79060e to your computer and use it in GitHub Desktop.
Save pranav-bhatt/d7a21fc7354dcdaf8e00a1bf9c79060e to your computer and use it in GitHub Desktop.
[2021-08-17T12:34:58Z DEBUG drogue_cloud_service_common::client::device_auth] Outcome for AuthenticationRequest { application: "855d8de0-73b2-42fc-9fff-c9d19eb7f101", device: "device1", credential: Password(...), as: None } is AuthenticationResponse { outcome: Pass { application: Application { metadata: NonScopedMetadata { name: "855d8de0-73b2-42fc-9fff-c9d19eb7f101", uid: "352fb81a-5f18-4e1a-949e-b00d75dc90fe", creation_timestamp: 2021-08-17T12:34:53.694610Z, generation: 9, resource_version: "02950c43-5314-433c-a01a-a013b88689ab", deletion_timestamp: None, finalizers: ["kafka"], labels: {}, annotations: {} }, spec: {}, status: {"kafka": Object({"user": Object({"password": String("BBLwD96KzahA"), "username": String("user-855d8de0-73b2-42fc-9fff-c9d19eb7f101"), "mechanism": String("SCRAM-SHA-512")}), "conditions": Array([Object({"type": String("HasFinalizer"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:53.765740891Z")}), Object({"type": String("CreateTopics"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:53.810973236Z")}), Object({"type": String("TopicsReady"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:53.954968623Z")}), Object({"type": String("CreateUser"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:53.960956634Z")}), Object({"type": String("UserReady"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:54.103741010Z")}), Object({"type": String("Reconciled"), "reason": String("AsExpected"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:54.103742840Z")})]), "observedGeneration": Number(8)}), "conditions": Array([Object({"type": String("KafkaReady"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:54.103767862Z")}), Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:54.103806252Z")})])} }, device: Device { metadata: ScopedMetadata { application: "855d8de0-73b2-42fc-9fff-c9d19eb7f101", name: "device1", uid: "363af1e1-333d-40c2-8e8e-5aeb3c48e805", creation_timestamp: 2021-08-17T12:34:53.739039Z, generation: 1, resource_version: "62f89580-943c-4e68-858b-be9375f1d229", deletion_timestamp: None, finalizers: [], labels: {}, annotations: {} }, spec: {}, status: {"conditions": Array([Object({"type": String("Ready"), "status": String("True"), "lastTransitionTime": String("2021-08-17T12:34:53.758127677Z")})])} }, as: None } }
[2021-08-17T12:34:58Z DEBUG drogue_cloud_endpoint_common::sender] Content-Type: None
[2021-08-17T12:34:58Z DEBUG drogue_cloud_endpoint_common::sender] Payload size: 0 bytes
[2021-08-17T12:34:58Z DEBUG drogue_cloud_endpoint_common::sink::kafka] Key: 855d8de0%2D73b2%2D42fc%2D9fff%2Dc9d19eb7f101/device1, Kafka Config: Internal { topic: "events-855d8de0-73b2-42fc-9fff-c9d19eb7f101" }
[2021-08-17T12:34:59Z DEBUG coap::server] Response: CoapResponse { message: Packet { header: Header { ver_type_tkl: 96, code: Response(Changed), message_id: 0 }, token: [], options: {}, payload: [] } }
[2021-08-17T12:34:59Z DEBUG drogue_cloud_endpoint_common::command::commands] Failed to route command: No device Id { app_id: "855d8de0-73b2-42fc-9fff-c9d19eb7f101", device_id: "device1" } found on this endpoint!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment