>>> open write session 0
2025-12-12T11:56:56.702772Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:56.703025Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:56.709713Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:56.709751Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:56.709854Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.717069Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.717093Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540616717 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:56.717131Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: session_id: "test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0"
2025-12-12T11:56:56.717137Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.717165Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:56.717208Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:56.718530Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:56.718545Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:56.718550Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:56.718821Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:56.718925Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:56.718949Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:56.719038Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.725276Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.725337Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8cafb713-d9a47d18-dde5bb0a-5fa6795d_0]  PartitionId [0]  Generation [1] Write session established. Init response: session_id: "test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0"
2025-12-12T11:56:56.725343Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.725416Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 0 message written
2025-12-12T11:56:56.725477Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:56.725658Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:56.725671Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 1
2025-12-12T11:56:56.727681Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.727851Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 1 written { } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:56.727859Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:56.727863Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:56.825532Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:56.825557Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:56.825800Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 0 closed
2025-12-12T11:56:56.825830Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6e7301d-980a03c1-1612441c-b9d83ca3_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 1
2025-12-12T11:56:56.825912Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:56.825942Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:56.826654Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:56.826701Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:56.826816Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.833604Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.833624Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540616833 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:56.833652Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 1 session_id: "test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0"
2025-12-12T11:56:56.833659Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.833711Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:56.833751Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:56.834853Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:56.834866Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:56.834871Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:56.835122Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:56.835249Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:56.835277Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:56.835377Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.844321Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.844375Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29b66c5b-f7e0c465-2977d70a-4d404d8d_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 1 session_id: "test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0"
2025-12-12T11:56:56.844380Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.844439Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 1 message written
2025-12-12T11:56:56.844496Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:56.844695Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:56.844719Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 2
2025-12-12T11:56:56.846536Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.846584Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 2 written { offset: 1 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:56.846589Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:56.846592Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:56.944583Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:56.944604Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:56.944792Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 1 closed
2025-12-12T11:56:56.944815Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e5d6935-719952af-b939db12-3a07781_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 2
2025-12-12T11:56:56.944889Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:56.944907Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:56.945534Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:56.945572Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:56.945661Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.953632Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.953657Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540616953 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:56.953706Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 2 session_id: "test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0"
2025-12-12T11:56:56.953713Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.953795Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:56.953842Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:56.954987Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:56.955005Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:56.955010Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:56.955267Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:56.955376Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:56.955404Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:56.955524Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:56.961728Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.961772Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92a995f8-ea3f98cb-f6f21d9b-748b07db_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 2 session_id: "test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0"
2025-12-12T11:56:56.961777Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:56.961843Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 2 message written
2025-12-12T11:56:56.961909Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:56.962064Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:56.962079Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 3
2025-12-12T11:56:56.963553Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:56.963591Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 3 written { offset: 2 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:56.963597Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:56.963602Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.062014Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.062046Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.062311Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2 closed
2025-12-12T11:56:57.062348Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15a72361-11b24992-d066d20a-3f7dc1fc_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 3
2025-12-12T11:56:57.062433Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.062462Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.063500Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.063540Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.063629Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.070391Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.070419Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617070 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.070453Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 3 session_id: "test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0"
2025-12-12T11:56:57.070461Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.070543Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.070603Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.071688Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.071705Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.071711Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.071982Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.072114Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.072140Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.072237Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.078442Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.078490Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6b3a44ac-d98bc12f-71dd0f35-f7e16d14_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 3 session_id: "test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0"
2025-12-12T11:56:57.078496Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.078566Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 3 message written
2025-12-12T11:56:57.078643Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.078802Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.078817Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 4
2025-12-12T11:56:57.080349Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.080403Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 4 written { offset: 3 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.080418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.080422Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.178743Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.178768Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.178954Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 3 closed
2025-12-12T11:56:57.178984Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46fa1d82-dd77883c-76027a9-3146ec26_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 4
2025-12-12T11:56:57.179045Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.179069Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.179475Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.179514Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.179583Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.184737Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.184764Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617184 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.184799Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 4 session_id: "test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0"
2025-12-12T11:56:57.184806Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.184881Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.184927Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.186094Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.186111Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.186116Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.186359Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.186454Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.186477Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.186565Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.191194Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.191243Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8b4ceb28-45ad3973-3390e544-278ac778_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 4 session_id: "test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0"
2025-12-12T11:56:57.191249Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.191321Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 4 message written
2025-12-12T11:56:57.191378Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.191482Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.191498Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 5
2025-12-12T11:56:57.193087Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.193134Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 5 written { offset: 4 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.193141Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.193145Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.291479Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.291509Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.291831Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:57.291846Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
4 closed
2025-12-12T11:56:57.291861Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:56:57.291879Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a5247564-85b95d97-7bf20cc7-f7675e3e_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 5
2025-12-12T11:56:57.292050Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.292070Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.292484Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.292525Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.292616Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.298639Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.298660Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617298 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.298691Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 5 session_id: "test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0"
2025-12-12T11:56:57.298696Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.298769Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.298805Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.299862Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.299879Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.299885Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.300102Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.300302Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.300329Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.300463Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.308060Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.308118Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42e41eb-733b466c-3453bff5-12980d64_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 5 session_id: "test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0"
2025-12-12T11:56:57.308125Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.308207Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 5 message written
2025-12-12T11:56:57.308276Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.308373Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.308398Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 6
2025-12-12T11:56:57.309985Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.310029Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 6 written { offset: 5 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.310036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.310040Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.408409Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.408442Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.408716Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 5 closed
2025-12-12T11:56:57.408769Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3ed3f706-aaa532f5-c43cfb5c-9ebc798d_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 6
2025-12-12T11:56:57.408869Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.408895Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.409621Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.409675Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.409770Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.416469Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.416499Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617416 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.416537Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 6 session_id: "test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0"
2025-12-12T11:56:57.416544Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.416629Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.416678Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.417931Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.417960Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.417966Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.418247Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.418339Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.418367Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.418462Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.424734Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.424783Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39983796-6b838b7d-6dbedf4f-4f5a555b_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 6 session_id: "test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0"
2025-12-12T11:56:57.424793Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.424855Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 6 message written
2025-12-12T11:56:57.424906Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.424992Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.425006Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 7
2025-12-12T11:56:57.426679Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.426727Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 7 written { offset: 6 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.426734Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.426738Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.525009Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.525039Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.525279Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 6 closed
2025-12-12T11:56:57.525313Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e8d3b3af-d42fb2b1-4ff73bad-7ab99d29_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 7
2025-12-12T11:56:57.525391Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.525417Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.526569Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.526613Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.526718Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.533012Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.533034Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617533 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.533069Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 7 session_id: "test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0"
2025-12-12T11:56:57.533074Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.533156Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.533190Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.534329Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.534344Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.534349Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.534599Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.534693Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.534721Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.534823Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.541349Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.541398Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b83e81b1-878a4f55-37c630aa-46bbf7fc_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 7 session_id: "test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0"
2025-12-12T11:56:57.541406Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.541493Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 7 message written
2025-12-12T11:56:57.541553Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.541644Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.541658Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 8
2025-12-12T11:56:57.543654Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.543714Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 8 written { offset: 7 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.543721Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.543726Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.641649Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.641680Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.641912Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 7 closed
2025-12-12T11:56:57.641945Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1563d68-9affa749-34de55a6-46d32763_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 8
2025-12-12T11:56:57.642018Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.642036Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.642525Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.642572Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.642679Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.648823Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.648847Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617648 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.648874Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 8 session_id: "test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0"
2025-12-12T11:56:57.648878Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.648941Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.648999Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.650161Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.650178Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.650184Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.650460Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.650571Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.650598Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.650695Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.657282Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.657354Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5cb03949-764613ca-22076dec-cddb898b_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 8 session_id: "test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0"
2025-12-12T11:56:57.657366Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.657439Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 8 message written
2025-12-12T11:56:57.657511Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.657640Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.657695Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 9
2025-12-12T11:56:57.659761Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.659824Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 9 written { offset: 8 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.659833Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.659838Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.757614Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.757643Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.757996Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:57.758022Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
8 closed
2025-12-12T11:56:57.758038Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:56:57.758044Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1374a8ef-afc27dae-57d8a813-5a87db61_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 9
2025-12-12T11:56:57.758209Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.758229Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.759495Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.759540Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.759640Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.766532Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.766556Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617766 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.766589Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 9 session_id: "test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0"
2025-12-12T11:56:57.766595Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.766664Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.766698Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.767725Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.767736Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.767740Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.767959Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.768056Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.768077Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.768157Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.773331Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.773367Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b611892a-b5d0871b-1dd4466c-1d4d8334_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 9 session_id: "test-message_group_id|d3798117-c4321526-521f4598-357ce445_0"
2025-12-12T11:56:57.773372Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.773427Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 9 message written
2025-12-12T11:56:57.773486Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.773559Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.773571Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 10
2025-12-12T11:56:57.774757Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.774794Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 10 written { offset: 9 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.774799Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.774803Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.873579Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.873603Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.873906Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:57.873923Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.873933Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
9 closed
2025-12-12T11:56:57.873952Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d3798117-c4321526-521f4598-357ce445_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 10
2025-12-12T11:56:57.874138Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.874160Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.874431Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.874468Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.874549Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.881283Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.881312Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617881 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.881348Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 10 session_id: "test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0"
2025-12-12T11:56:57.881354Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.881434Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.881481Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.882605Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.882624Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.882632Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.882894Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.882979Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.883005Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.883108Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.889722Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.889777Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1fd6602b-3f77cbc5-55fd1742-254c6221_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 10 session_id: "test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0"
2025-12-12T11:56:57.889784Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.889868Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 10 message written
2025-12-12T11:56:57.889940Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:57.890030Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:57.890045Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 11
2025-12-12T11:56:57.891646Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.891695Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 11 written { offset: 10 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:57.891703Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:57.891730Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:57.990018Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:57.990050Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:57.990459Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:57.990476Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
10 closed
2025-12-12T11:56:57.990492Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:56:57.990507Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|78f86d3e-1a0ab516-84a66da9-9be132ed_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 11
2025-12-12T11:56:57.990674Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:57.990699Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:57.991486Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:57.991526Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:57.991622Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:57.998148Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:57.998174Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540617998 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:57.998210Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 11 session_id: "test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0"
2025-12-12T11:56:57.998216Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:57.998305Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:57.998348Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:57.999409Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:57.999424Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:57.999435Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:57.999715Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:57.999823Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:57.999850Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:57.999963Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.006222Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.006263Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ba146778-278dc501-2949f5a3-1a27866a_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 11 session_id: "test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0"
2025-12-12T11:56:58.006268Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.006325Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 11 message written
2025-12-12T11:56:58.006391Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.006469Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.006488Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 12
2025-12-12T11:56:58.008068Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.008116Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 12 written { offset: 11 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.008123Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.008127Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.106505Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.106536Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.106804Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 11 closed
2025-12-12T11:56:58.106836Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be6ee668-ec2c5efc-4f8b0f65-a5380509_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 12
2025-12-12T11:56:58.106914Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.106938Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.107544Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.107599Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.107685Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.112519Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.112543Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618112 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.112575Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 12 session_id: "test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0"
2025-12-12T11:56:58.112581Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.112663Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.112711Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.113839Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.113851Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.113855Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.114077Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.114161Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.114183Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.114249Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.118638Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.118668Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|315d065b-19db538f-7caffedf-cd9cde59_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 12 session_id: "test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0"
2025-12-12T11:56:58.118672Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.118734Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 12 message written
2025-12-12T11:56:58.118791Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.118876Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.118889Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 13
2025-12-12T11:56:58.120638Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.120671Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 13 written { offset: 12 } } write_statistics { persisting_time { nanos: 2000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.120676Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.120679Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.218913Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.218946Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.219199Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 12 closed
2025-12-12T11:56:58.219236Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|62e3372c-4db03563-acbf9ca-32aff2f6_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 13
2025-12-12T11:56:58.219333Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.219360Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.220524Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.220572Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.220689Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.227437Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.227462Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618227 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.227495Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 13 session_id: "test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0"
2025-12-12T11:56:58.227500Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.227590Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.227642Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.228798Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.228816Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.228821Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.229120Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.229225Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.229252Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.229375Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.235814Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.235866Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9d839517-8a250212-d781c4a8-1154027c_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 13 session_id: "test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0"
2025-12-12T11:56:58.235873Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.235946Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 13 message written
2025-12-12T11:56:58.236008Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.236103Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.236130Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 14
2025-12-12T11:56:58.237901Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.237967Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 14 written { offset: 13 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.237974Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.237978Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.336096Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.336127Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.336494Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:58.336514Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
13 closed
2025-12-12T11:56:58.336528Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:56:58.336545Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d050bbc-50bbf939-2fb03ecf-bfd9e774_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 14
2025-12-12T11:56:58.336730Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.336753Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.337552Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.337596Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.337688Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.344063Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.344090Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618344 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.344121Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 14 session_id: "test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0"
2025-12-12T11:56:58.344126Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.344223Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.344266Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.345291Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.345303Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.345309Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.345525Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.345641Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.345668Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.345760Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.352370Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.352415Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b14d8a55-190f0b84-ce1c00cb-6a5362bb_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 14 session_id: "test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0"
2025-12-12T11:56:58.352422Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.352477Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 14 message written
2025-12-12T11:56:58.352527Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.352626Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.352650Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 15
2025-12-12T11:56:58.354216Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.354260Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 15 written { offset: 14 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.354266Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.354270Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.452640Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.452673Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.452919Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 14 closed
2025-12-12T11:56:58.452957Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fbd0adf9-78feaff6-e928f078-bd73f1b7_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 15
2025-12-12T11:56:58.453035Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.453061Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.453522Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.453571Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.453668Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.459839Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.459865Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618459 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.459899Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 15 session_id: "test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0"
2025-12-12T11:56:58.459905Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.459972Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.460019Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.461296Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.461320Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.461326Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.461601Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.461699Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.461721Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.461819Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.468036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.468073Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8382d892-5be338fc-c1f26fdb-cd13a150_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 15 session_id: "test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0"
2025-12-12T11:56:58.468078Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.468144Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 15 message written
2025-12-12T11:56:58.468235Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.468301Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.468312Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 16
2025-12-12T11:56:58.469903Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.469952Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 16 written { offset: 15 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.469958Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.469963Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.568316Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.568368Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.568735Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:58.568749Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
15 closed
2025-12-12T11:56:58.568763Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:56:58.568771Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|63dd6f7-dbd74aba-ee008703-9866df28_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 16
2025-12-12T11:56:58.568927Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.568947Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.569486Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.569529Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.569607Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.575500Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.575524Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618575 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.575558Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 16 session_id: "test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0"
2025-12-12T11:56:58.575563Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.575639Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.575677Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.576799Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.576815Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.576820Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.577128Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.577250Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.577276Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.577369Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.583655Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.583702Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ea88bd2d-28b1bb80-bf8488d5-e3f9641d_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 16 session_id: "test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0"
2025-12-12T11:56:58.583709Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.583774Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 16 message written
2025-12-12T11:56:58.583836Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.583990Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.584002Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 17
2025-12-12T11:56:58.585582Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.585639Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 17 written { offset: 16 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.585646Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.585650Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.683940Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.683972Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.684209Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 16 closed
2025-12-12T11:56:58.684247Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fd9995f-bd6f1c4d-aa85ccd5-78a84cd2_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 17
2025-12-12T11:56:58.684350Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.684374Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.685557Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.685608Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.685716Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.692388Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.692415Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618692 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.692449Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 17 session_id: "test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0"
2025-12-12T11:56:58.692455Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.692526Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.692568Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.693605Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.693618Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.693621Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.693868Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.693963Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.693988Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.694094Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.699437Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.699483Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4251de82-3788d668-67f2b0a4-a77142d6_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 17 session_id: "test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0"
2025-12-12T11:56:58.699490Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.699577Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 17 message written
2025-12-12T11:56:58.699647Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.699757Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.699768Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 18
2025-12-12T11:56:58.701438Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.701487Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 18 written { offset: 17 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.701493Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.701498Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.799744Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.799771Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.799981Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 17 closed
2025-12-12T11:56:58.800016Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edd1dc3b-3876de58-ff9108a3-41eb8120_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 18
2025-12-12T11:56:58.800090Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.800115Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.800788Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.800834Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.800933Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.806946Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.806971Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618806 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.807007Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 18 session_id: "test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0"
2025-12-12T11:56:58.807013Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.807085Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.807127Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.808249Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.808264Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.808268Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.808554Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.808659Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.808684Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.808792Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.815345Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.815399Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|406bb3b2-cd19de85-913b821d-542c3cb2_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 18 session_id: "test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0"
2025-12-12T11:56:58.815406Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.815466Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 18 message written
2025-12-12T11:56:58.815517Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.815610Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.815624Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 19
2025-12-12T11:56:58.817275Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.817325Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 19 written { offset: 18 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.817332Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.817336Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:58.915633Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:58.915662Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:58.916029Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 18 closed2025-12-12T11:56:58.916047Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.916068Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:56:58.916084Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8cd6bff-541f16b3-b7d6ddc7-596c77d_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 19
2025-12-12T11:56:58.916262Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:58.916286Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:58.917512Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:58.917569Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:58.917688Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.923648Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.923671Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540618923 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:58.923706Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 19 session_id: "test-message_group_id|94461808-6633529e-595d02be-42a0980e_0"
2025-12-12T11:56:58.923711Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.923777Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:58.923811Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:58.924780Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:58.924793Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:58.924801Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:58.925104Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:58.925204Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:58.925229Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:58.925330Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:58.931897Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.931948Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|94461808-6633529e-595d02be-42a0980e_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 19 session_id: "test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0"
2025-12-12T11:56:58.931954Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:58.932022Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 19 message written
2025-12-12T11:56:58.932083Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:58.932234Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:58.932248Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 20
2025-12-12T11:56:58.933861Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:58.933907Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 20 written { offset: 19 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:58.933914Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:58.933917Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.032215Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.032245Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.032490Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 19 closed
2025-12-12T11:56:59.032524Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6d219559-173d7b3-5fab2b4d-dbc408de_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 20
2025-12-12T11:56:59.032601Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.032625Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.033520Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.033555Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.033635Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.039530Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.039561Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619039 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.039593Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 20 session_id: "test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0"
2025-12-12T11:56:59.039598Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.039677Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.039719Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.040810Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.040827Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.040832Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.041081Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.041299Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.041326Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.041451Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.047719Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.047772Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d273d212-c0d09042-89fc5f4c-c710021a_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 20 session_id: "test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0"
2025-12-12T11:56:59.047779Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.047846Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 20 message written
2025-12-12T11:56:59.047902Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.048000Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.048015Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 21
2025-12-12T11:56:59.049715Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.049769Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 21 written { offset: 20 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.049776Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.049781Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.147966Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.147997Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.148250Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 20 closed
2025-12-12T11:56:59.148297Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aac4b8e6-4b0f6e10-89e06d11-cd882969_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 21
2025-12-12T11:56:59.148394Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.148417Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.149507Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.149561Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.149630Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.156123Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.156151Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619156 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.156199Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 21 session_id: "test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0"
2025-12-12T11:56:59.156203Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.156264Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.156307Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.157433Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.157445Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.157448Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.157692Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.157845Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.157874Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.157970Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.164457Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.164510Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|114255ab-b34e60cb-d163ad0f-2d2f50af_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 21 session_id: "test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0"
2025-12-12T11:56:59.164517Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.164591Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 21 message written
2025-12-12T11:56:59.164649Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.164742Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.164753Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 22
2025-12-12T11:56:59.166324Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.166371Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 22 written { offset: 21 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.166390Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.166394Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.264739Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.264771Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.264999Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 21 closed
2025-12-12T11:56:59.265032Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9b32b098-3337cf83-ea058e7f-27f6ea7f_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 22
2025-12-12T11:56:59.265102Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.265123Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.265516Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.265591Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.265704Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.271837Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.271861Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619271 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.271893Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 22 session_id: "test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0"
2025-12-12T11:56:59.271904Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.271977Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.272027Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.273267Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.273291Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.273297Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.273555Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.273650Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.273680Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.273785Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.280277Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.280342Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f3cb2d85-c75c0707-ce7f365a-aa4bf497_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 22 session_id: "test-message_group_id|461ef810-53b814d0-b582352e-952befce_0"
2025-12-12T11:56:59.280349Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.280418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 22 message written
2025-12-12T11:56:59.280469Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.280578Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.280593Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 23
2025-12-12T11:56:59.282229Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.282271Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 23 written { offset: 22 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.282276Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.282279Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.380565Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.380607Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.380934Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:59.380948Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
22 closed
2025-12-12T11:56:59.380961Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:56:59.380992Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|461ef810-53b814d0-b582352e-952befce_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 23
2025-12-12T11:56:59.381145Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.381162Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.381417Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.381458Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.381537Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.387723Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.387749Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619387 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.387781Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 23 session_id: "test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0"
2025-12-12T11:56:59.387786Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.387868Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.387942Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.389154Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.389172Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.389180Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.389440Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.389550Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.389575Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.389678Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.396046Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.396101Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4670a080-c6c87e65-c008a9da-7cf2bd57_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 23 session_id: "test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0"
2025-12-12T11:56:59.396107Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.396168Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 23 message written
2025-12-12T11:56:59.396247Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.396418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.396432Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 24
2025-12-12T11:56:59.398229Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.398286Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 24 written { offset: 23 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.398293Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.398296Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.496373Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.496405Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.496692Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 23 closed
2025-12-12T11:56:59.496732Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f6ff9db2-21f5eb63-dd89fc1b-da01368b_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 24
2025-12-12T11:56:59.496822Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.496847Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.497509Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.497555Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.497655Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.504292Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.504330Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619504 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.504362Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 24 session_id: "test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0"
2025-12-12T11:56:59.504367Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.504427Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.504463Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.505510Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.505522Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.505526Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.505757Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.505846Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.505872Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.505982Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.511268Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.511300Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c27844ab-7b250d1a-306db169-494bf2fe_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 24 session_id: "test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0"
2025-12-12T11:56:59.511304Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.511363Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 24 message written
2025-12-12T11:56:59.511416Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.511495Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.511506Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 25
2025-12-12T11:56:59.512754Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.512782Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 25 written { offset: 24 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.512786Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.512789Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.611510Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.611533Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.611739Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 24 closed
2025-12-12T11:56:59.611769Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c21a3c7e-56c69806-6bdd5596-85d3ded3_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 25
2025-12-12T11:56:59.611834Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.611851Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.612501Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.612558Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.612641Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.618845Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.618867Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619618 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.618892Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 25 session_id: "test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0"
2025-12-12T11:56:59.618896Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.618954Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.618989Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.619975Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.619987Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.619991Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.620253Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.620364Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.620389Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.620492Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.624903Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.624938Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|83eeff7b-bcddebd4-457bf17a-d39d5b64_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 25 session_id: "test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0"
2025-12-12T11:56:59.624943Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.624996Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 25 message written
2025-12-12T11:56:59.625054Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.625146Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.625159Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 26
2025-12-12T11:56:59.626461Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.626503Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 26 written { offset: 25 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.626510Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.626513Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.725165Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.725216Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.725517Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 25 closed
2025-12-12T11:56:59.725559Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8ec038f0-91ac5311-3838c98e-73b55a4b_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 26
2025-12-12T11:56:59.725642Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.725674Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.726540Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.726586Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.726684Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.732559Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.732586Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619732 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.732633Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 26 session_id: "test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0"
2025-12-12T11:56:59.732640Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.732714Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.732766Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.733866Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.733884Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.733891Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.734201Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.734303Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.734325Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.734412Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.740991Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.741049Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8a045b8c-17b68880-3084d573-6f6e4964_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 26 session_id: "test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0"
2025-12-12T11:56:59.741055Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.741126Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 26 message written
2025-12-12T11:56:59.741188Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.741277Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.741291Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 27
2025-12-12T11:56:59.742915Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.742959Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 27 written { offset: 26 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.742966Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.742970Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.841278Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.841303Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.841611Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:56:59.841627Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
262025-12-12T11:56:59.841640Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
 closed
2025-12-12T11:56:59.841668Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|76eb38c6-b7e80bf9-7c2ce355-b7d6a0e1_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 27
2025-12-12T11:56:59.841827Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.841847Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.842499Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.842541Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.842621Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.849319Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.849341Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619849 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.849370Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 27 session_id: "test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0"
2025-12-12T11:56:59.849374Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.849434Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.849471Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.850577Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.850590Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.850597Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.850908Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.851023Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.851049Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.851150Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.857511Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.857559Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3e5b33c2-920a0448-95172bf0-368f825_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 27 session_id: "test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0"
2025-12-12T11:56:59.857565Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.857627Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 27 message written
2025-12-12T11:56:59.857680Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.857763Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.857776Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 28
2025-12-12T11:56:59.859449Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.859484Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 28 written { offset: 27 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.859489Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.859492Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:56:59.957777Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:56:59.957817Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:56:59.958018Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 27 closed
2025-12-12T11:56:59.958050Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|aa2b3222-1d16d240-7dc09a4-74c6a97f_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 28
2025-12-12T11:56:59.958128Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:56:59.958152Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:56:59.958437Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:56:59.958477Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:56:59.958559Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.965243Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.965267Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540619965 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:56:59.965297Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 28 session_id: "test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0"
2025-12-12T11:56:59.965301Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.965353Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:56:59.965396Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:56:59.966559Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:56:59.966576Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:56:59.966581Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:56:59.966850Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:56:59.966967Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:56:59.966992Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:56:59.967073Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:56:59.973129Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.973167Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dcc26dc4-4229e293-b66c66ac-98231eaa_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 28 session_id: "test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0"
2025-12-12T11:56:59.973172Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:56:59.973228Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 28 message written
2025-12-12T11:56:59.973290Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:56:59.973418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:56:59.973428Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 29
2025-12-12T11:56:59.975138Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:56:59.975170Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 29 written { offset: 28 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:56:59.975175Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:56:59.975178Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.073352Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.073385Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.073637Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 28 closed
2025-12-12T11:57:00.073673Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|75ef1b1d-a63745e5-4a53e5c5-aa432202_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 29
2025-12-12T11:57:00.073751Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.073777Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.074479Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.074521Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.074607Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.080830Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.080855Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620080 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.080888Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 29 session_id: "test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0"
2025-12-12T11:57:00.080893Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.080962Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.081000Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.082203Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.082224Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.082229Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.082510Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.082619Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.082646Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.082760Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.089039Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.089083Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9482626f-381befaa-6754c3ad-816596ec_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 29 session_id: "test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0"
2025-12-12T11:57:00.089089Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.089150Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 29 message written
2025-12-12T11:57:00.089208Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.089289Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.089298Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 30
2025-12-12T11:57:00.090849Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.090894Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 30 written { offset: 29 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.090901Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.090906Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.189312Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.189340Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.189565Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 29 closed
2025-12-12T11:57:00.189598Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ef3f73ca-a1d109e0-87903f48-4435e433_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 30
2025-12-12T11:57:00.189696Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.189725Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.190547Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.190592Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.190687Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.196528Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.196553Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620196 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.196590Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 30 session_id: "test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0"
2025-12-12T11:57:00.196596Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.196685Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.196727Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.197703Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.197714Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.197718Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.197955Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.198059Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.198083Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.198188Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.204848Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.204892Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|92d9b785-890eab6c-5f0b7242-bfa160ff_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 30 session_id: "test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0"
2025-12-12T11:57:00.204897Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.204976Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 30 message written
2025-12-12T11:57:00.205039Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.205125Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.205147Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 31
2025-12-12T11:57:00.207420Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.207473Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 31 written { offset: 30 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.207482Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.207486Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.305136Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.305165Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.305410Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 30 closed
2025-12-12T11:57:00.305448Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|33352b8c-a823fbcf-d0768b66-c8616dc2_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 31
2025-12-12T11:57:00.305528Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.305551Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.306498Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.306540Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.306636Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.313277Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.313304Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620313 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.313339Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 31 session_id: "test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0"
2025-12-12T11:57:00.313343Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.313408Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.313454Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.314532Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.314545Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.314550Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.314753Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.314949Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.314976Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.315080Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.320356Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.320438Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|65a7de9f-c66e2b23-d2dc8859-349a2dcc_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 31 session_id: "test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0"
2025-12-12T11:57:00.320450Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.320518Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 31 message written
2025-12-12T11:57:00.320579Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.320667Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.320678Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 32
2025-12-12T11:57:00.322292Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.322342Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 32 written { offset: 31 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.322349Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.322353Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.420698Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.420737Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.421091Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:00.421104Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
31 closed
2025-12-12T11:57:00.421121Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:00.421131Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|99d004f6-a1f5d287-6660212e-c84ed20a_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 32
2025-12-12T11:57:00.421321Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.421344Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.422497Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.422534Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.422614Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.428978Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.429002Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620428 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.429031Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 32 session_id: "test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0"
2025-12-12T11:57:00.429035Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.429104Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.429152Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.430197Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.430211Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.430219Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.430459Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.430533Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.430561Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.430647Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.437383Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.437440Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ae1506f2-ac859814-4f46a093-99d42382_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 32 session_id: "test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0"
2025-12-12T11:57:00.437446Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.437517Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 32 message written
2025-12-12T11:57:00.437576Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.437678Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.437690Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 33
2025-12-12T11:57:00.439610Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.439676Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 33 written { offset: 32 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.439684Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.439690Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.537681Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.537709Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.537971Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 32 closed
2025-12-12T11:57:00.538009Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|23644aee-c0fbff01-257e5d09-d8b5b7f5_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 33
2025-12-12T11:57:00.538087Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.538110Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.538521Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.538558Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.538628Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.544830Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.544860Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620544 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.544895Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 33 session_id: "test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0"
2025-12-12T11:57:00.544901Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.544987Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.545034Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.546295Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.546317Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.546323Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.546615Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.546764Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.546791Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.546915Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.552982Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.553030Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b96930d9-13526a01-e72b6116-9324cbc6_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 33 session_id: "test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0"
2025-12-12T11:57:00.553036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.553095Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 33 message written
2025-12-12T11:57:00.553166Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.553251Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.553267Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 34
2025-12-12T11:57:00.554998Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.555047Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 34 written { offset: 33 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.555052Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.555055Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.653288Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.653322Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.653589Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 33 closed
2025-12-12T11:57:00.653625Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1b0e5751-6d8fec68-771f7820-1ffd7d89_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 34
2025-12-12T11:57:00.653705Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.653731Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.654561Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.654609Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.654724Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.661630Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.661653Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620661 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.661683Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 34 session_id: "test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0"
2025-12-12T11:57:00.661688Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.661758Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.661805Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.662992Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.663010Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.663015Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.663312Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.663417Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.663445Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.663553Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.669824Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.669868Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3f12ce9b-56aec2f5-62b3f91d-245cdada_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 34 session_id: "test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0"
2025-12-12T11:57:00.669875Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.669941Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 34 message written
2025-12-12T11:57:00.669999Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.670108Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.670123Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 35
2025-12-12T11:57:00.671656Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.671696Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 35 written { offset: 34 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.671702Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.671706Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.770067Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.770101Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.770380Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 34 closed
2025-12-12T11:57:00.770417Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dace8426-74b374f3-7d50305d-de759904_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 35
2025-12-12T11:57:00.770498Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.770522Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.771742Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.771826Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.771996Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.778223Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.778249Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620778 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.778280Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 35 session_id: "test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0"
2025-12-12T11:57:00.778285Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.778362Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.778406Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.779615Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.779634Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.779639Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.779976Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.780084Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.780114Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.780248Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.786496Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.786545Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|82ab2d41-5310bf1-76ef5594-b2d2a376_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 35 session_id: "test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0"
2025-12-12T11:57:00.786551Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.786613Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 35 message written
2025-12-12T11:57:00.786673Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.786756Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.786767Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 36
2025-12-12T11:57:00.788370Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.788423Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 36 written { offset: 35 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.788430Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.788434Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:00.886798Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:00.886828Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:00.887062Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 35 closed
2025-12-12T11:57:00.887094Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f4e006-c33b5324-cde215b6-79a4fd37_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 36
2025-12-12T11:57:00.887170Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:00.887194Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:00.888572Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:00.888625Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:00.888756Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.895281Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.895313Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540620895 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:00.895354Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 36 session_id: "test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0"
2025-12-12T11:57:00.895361Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.895483Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:00.895533Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:00.896974Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:00.896997Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:00.897003Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:00.897289Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:00.897434Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:00.897463Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:00.897568Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:00.906882Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.906938Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7a5dce6-4278eec6-84e8be17-2031e9ef_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 36 session_id: "test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0"
2025-12-12T11:57:00.906946Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:00.907013Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 36 message written
2025-12-12T11:57:00.907079Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:00.907174Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:00.907189Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 37
2025-12-12T11:57:00.909185Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:00.909266Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 37 written { offset: 36 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:00.909275Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:00.909279Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.007187Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.007229Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.007450Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 36 closed
2025-12-12T11:57:01.007498Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46b217c3-26b55e08-d511e38-dc3c8a7b_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 37
2025-12-12T11:57:01.007581Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.007606Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.008470Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.008527Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.008610Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.014855Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.014876Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621014 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.014918Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 37 session_id: "test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0"
2025-12-12T11:57:01.014924Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.014997Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.015051Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.016092Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.016107Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.016112Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.016382Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.016470Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.016493Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.016567Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.024962Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.025009Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0598b8d-3df32bc0-7b907530-eadfcaee_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 37 session_id: "test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0"
2025-12-12T11:57:01.025015Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.025078Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 37 message written
2025-12-12T11:57:01.025135Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.025235Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.025249Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 38
2025-12-12T11:57:01.026839Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.026884Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 38 written { offset: 37 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.026890Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.026894Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.125236Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.125270Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.125470Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 37 closed
2025-12-12T11:57:01.125503Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|46007a2e-f901557e-36f32754-3e133816_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 38
2025-12-12T11:57:01.125572Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.125595Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.126515Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.126561Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.126655Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.133483Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.133508Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621133 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.133542Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 38 session_id: "test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0"
2025-12-12T11:57:01.133547Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.133620Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.133676Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.134778Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.134792Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.134796Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.135016Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.135242Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.135267Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.135356Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.140389Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.140433Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|cdbb774f-90a883e2-8343cb19-6deefbf3_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 38 session_id: "test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0"
2025-12-12T11:57:01.140439Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.140500Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 38 message written
2025-12-12T11:57:01.140547Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.140637Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.140658Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 39
2025-12-12T11:57:01.142081Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.142130Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 39 written { offset: 38 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.142134Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.142137Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.240654Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.240684Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.241078Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:01.241100Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
38 closed
2025-12-12T11:57:01.241116Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:01.241132Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87c1ac1-592fad1b-9a2ce5e8-f2c4c005_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 39
2025-12-12T11:57:01.241312Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.241335Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.242605Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.242652Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.242745Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.249623Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.249653Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621249 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.249691Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 39 session_id: "test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0"
2025-12-12T11:57:01.249698Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.249783Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.249829Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.251171Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.251188Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.251197Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.251445Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.251677Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.251706Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.251803Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.258357Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.258406Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|786a2618-4783bfb0-13d143c0-788a0531_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 39 session_id: "test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0"
2025-12-12T11:57:01.258413Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.258491Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 39 message written
2025-12-12T11:57:01.258549Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.258622Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.258635Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 40
2025-12-12T11:57:01.260323Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.260364Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 40 written { offset: 39 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.260371Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.260376Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.358626Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.358648Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.358985Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 39 closed
2025-12-12T11:57:01.359012Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.359032Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:01.359050Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1464d93b-7a7cf127-275d79a7-e5b6d649_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 40
2025-12-12T11:57:01.359194Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.359213Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.360609Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.360655Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.360754Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.367084Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.367110Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621367 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.367147Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 40 session_id: "test-message_group_id|95232878-360137d3-738da693-85b0d31d_0"
2025-12-12T11:57:01.367152Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.367229Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.367279Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.368393Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.368409Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.368416Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.368678Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.368771Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.368805Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.368899Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.375067Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.375120Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|95232878-360137d3-738da693-85b0d31d_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 40 session_id: "test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0"
2025-12-12T11:57:01.375125Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.375214Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 40 message written
2025-12-12T11:57:01.375275Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.375375Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.375389Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 41
2025-12-12T11:57:01.377038Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.377079Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 41 written { offset: 40 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.377084Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.377087Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.475318Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.475337Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.475669Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 40 closed
2025-12-12T11:57:01.475699Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.475717Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:01.475733Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|de1396b-3779c5e7-70576967-e7633564_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 41
2025-12-12T11:57:01.475875Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.475897Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.476516Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.476558Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.476643Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.482615Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.482641Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621482 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.482676Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 41 session_id: "test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0"
2025-12-12T11:57:01.482681Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.482760Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.482804Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.483832Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.483845Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.483851Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.484100Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.484212Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.484236Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.484343Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.490671Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.490723Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c0a74c1-7d1e47cc-f7f3fd0-bcf4459b_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 41 session_id: "test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0"
2025-12-12T11:57:01.490730Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.490789Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 41 message written
2025-12-12T11:57:01.490843Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.490919Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.490931Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 42
2025-12-12T11:57:01.492713Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.492754Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 42 written { offset: 41 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.492759Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.492762Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.590933Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.590961Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.591154Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 41 closed
2025-12-12T11:57:01.591180Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4ab326db-d7d3fe48-a2f21c77-32d8fed4_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 42
2025-12-12T11:57:01.591246Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.591266Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.592639Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.592694Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.592797Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.599311Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.599341Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621599 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.599373Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 42 session_id: "test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0"
2025-12-12T11:57:01.599379Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.599446Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.599504Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.600554Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.600569Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.600573Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.600823Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.600923Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.600960Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.601047Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.607557Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.607602Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9c25d519-a250e158-ec6b3c3e-68055e9c_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 42 session_id: "test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0"
2025-12-12T11:57:01.607609Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.607669Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 42 message written
2025-12-12T11:57:01.607722Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.607816Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.607833Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 43
2025-12-12T11:57:01.609614Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.609662Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 43 written { offset: 42 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.609669Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.609673Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.707830Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.707859Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.708070Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 42 closed
2025-12-12T11:57:01.708105Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f71ced56-f0961a60-95fcf5da-a073470f_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 43
2025-12-12T11:57:01.708201Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.708225Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.709522Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.709582Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.709677Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.716094Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.716120Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621716 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.716152Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 43 session_id: "test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0"
2025-12-12T11:57:01.716156Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.716233Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.716276Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.717386Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.717422Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.717428Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.717711Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.717835Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.717873Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.717964Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.724534Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.724585Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5d068497-b04731db-cfcb35d3-946e50f1_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 43 session_id: "test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0"
2025-12-12T11:57:01.724591Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.724659Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 43 message written
2025-12-12T11:57:01.724725Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.724811Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.724823Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 44
2025-12-12T11:57:01.726870Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.726935Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 44 written { offset: 43 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.726944Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.726961Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.824834Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.824875Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.825144Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 43 closed
2025-12-12T11:57:01.825183Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe477b6f-b78621d0-ffb0bb11-454d76b5_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 44
2025-12-12T11:57:01.825256Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.825291Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.826533Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.826578Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.826675Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.833035Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.833062Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621833 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.833097Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 44 session_id: "test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0"
2025-12-12T11:57:01.833103Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.833188Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.833237Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.834401Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.834416Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.834421Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.834762Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.834865Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.834893Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.834999Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.841184Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.841233Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|18f9983f-278beb0b-9230759f-a127c8bd_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 44 session_id: "test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0"
2025-12-12T11:57:01.841240Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.841315Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 44 message written
2025-12-12T11:57:01.841377Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.841500Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.841524Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 45
2025-12-12T11:57:01.843269Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.843318Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 45 written { offset: 44 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.843325Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.843330Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:01.941480Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:01.941510Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:01.941743Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 44 closed
2025-12-12T11:57:01.941790Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7848bbed-1685d79f-da625eae-fbdb7697_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 45
2025-12-12T11:57:01.941866Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:01.941905Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:01.942521Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:01.942556Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:01.942622Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.948763Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.948791Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540621948 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:01.948824Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 45 session_id: "test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0"
2025-12-12T11:57:01.948845Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.948925Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:01.948966Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:01.950122Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:01.950144Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:01.950151Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:01.950579Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:01.950615Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:01.950736Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:01.950807Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:01.958107Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.958174Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b43d457a-bb7d0b6c-d3cbe9ec-ca8bccc5_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 45 session_id: "test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0"
2025-12-12T11:57:01.958180Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:01.958246Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 45 message written
2025-12-12T11:57:01.958311Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:01.958417Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:01.958432Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 46
2025-12-12T11:57:01.960224Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:01.960302Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 46 written { offset: 45 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:01.960311Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:01.960315Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.058436Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.058472Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.058868Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:02.058885Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.058904Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
45 closed
2025-12-12T11:57:02.058924Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2e80dc53-86392e94-d7354ba0-8f1285fe_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 46
2025-12-12T11:57:02.059121Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.059147Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.059538Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.059584Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.059725Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.067627Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.067657Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622067 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.067692Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 46 session_id: "test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0"
2025-12-12T11:57:02.067698Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.067798Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.067846Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.069136Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.069154Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.069163Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.069466Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.069571Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.069600Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.069715Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.075717Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.075771Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a7094c4d-ec658b79-9c5b3820-a4bd5130_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 46 session_id: "test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0"
2025-12-12T11:57:02.075778Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.075847Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 46 message written
2025-12-12T11:57:02.075902Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.075973Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.075984Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 47
2025-12-12T11:57:02.077602Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.077646Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 47 written { offset: 46 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.077672Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.077677Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.176009Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.176036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.176391Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:02.176409Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
46 closed
2025-12-12T11:57:02.176424Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:02.176453Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ecc73f15-7cb4eb0c-69aaabd7-c806deb1_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 47
2025-12-12T11:57:02.176645Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.176665Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.177498Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.177541Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.177634Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.183969Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.183992Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622183 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.184027Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 47 session_id: "test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0"
2025-12-12T11:57:02.184032Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.184106Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.184159Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.185212Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.185224Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.185230Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.185489Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.185573Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.185594Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.185692Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.191075Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.191116Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dfed180-ea1b5638-5d8359da-f29d745c_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 47 session_id: "test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0"
2025-12-12T11:57:02.191122Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.191201Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 47 message written
2025-12-12T11:57:02.191255Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.191391Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.191404Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 48
2025-12-12T11:57:02.193179Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.193233Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 48 written { offset: 47 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.193239Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.193244Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.291351Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.291377Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.291622Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 47 closed
2025-12-12T11:57:02.291656Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|169c41da-ced7589c-a765817-19cb80e9_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 48
2025-12-12T11:57:02.291733Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.291757Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.292504Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.292557Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.292636Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.298770Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.298793Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622298 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.298820Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 48 session_id: "test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0"
2025-12-12T11:57:02.298825Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.298890Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.298930Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.300076Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.300093Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.300098Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.300424Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.300592Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.300624Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.300740Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.306989Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.307050Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|28717e54-51a4648f-f56b6151-c7518c9c_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 48 session_id: "test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0"
2025-12-12T11:57:02.307056Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.307125Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 48 message written
2025-12-12T11:57:02.307183Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.307262Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.307273Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 49
2025-12-12T11:57:02.308872Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.308918Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 49 written { offset: 48 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.308924Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.308929Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.407284Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.407312Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.407523Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 48 closed
2025-12-12T11:57:02.407558Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|37ea20e5-197cf2b1-a141da39-be5c107c_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 49
2025-12-12T11:57:02.407626Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.407663Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.408466Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.408505Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.408575Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.414734Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.414760Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622414 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.414794Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 49 session_id: "test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0"
2025-12-12T11:57:02.414800Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.414887Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.414966Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.416054Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.416068Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.416073Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.416349Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.416470Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.416496Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.416601Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.422761Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.422807Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2d9e297f-b3c6cdba-8d8a58be-c5fdb33a_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 49 session_id: "test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0"
2025-12-12T11:57:02.422814Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.422869Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 49 message written
2025-12-12T11:57:02.422929Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.423007Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.423022Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 50
2025-12-12T11:57:02.424638Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.424684Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 50 written { offset: 49 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.424690Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.424694Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.523052Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.523079Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.523437Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:02.523461Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
49 closed2025-12-12T11:57:02.523476Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:02.523492Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|515e9ec7-8207632d-e801bd69-61c06308_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 50
2025-12-12T11:57:02.523664Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.523690Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.524571Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.524616Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.524719Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.531337Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.531363Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622531 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.531410Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 50 session_id: "test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0"
2025-12-12T11:57:02.531415Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.531490Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.531543Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.532740Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.532760Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.532770Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.533051Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.533141Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.533171Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.533280Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.539541Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.539590Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|404415e4-40b48dad-f91fb687-150636ce_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 50 session_id: "test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0"
2025-12-12T11:57:02.539597Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.539660Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 50 message written
2025-12-12T11:57:02.539711Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.539815Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.539829Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 51
2025-12-12T11:57:02.541411Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.541455Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 51 written { offset: 50 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.541462Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.541466Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.639816Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.639851Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.640120Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 50 closed
2025-12-12T11:57:02.640171Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a98777b5-6ba0b228-db71d698-1182278c_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 51
2025-12-12T11:57:02.640280Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.640330Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.641565Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.641607Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.641676Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.648196Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.648224Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622648 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.648260Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 51 session_id: "test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0"
2025-12-12T11:57:02.648265Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.648356Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.648409Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.649545Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.649557Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.649561Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.649817Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.649981Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.650008Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.650082Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.656378Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.656436Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1baaff27-28547469-8898d335-cb8f427a_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 51 session_id: "test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0"
2025-12-12T11:57:02.656443Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.656520Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 51 message written
2025-12-12T11:57:02.656600Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.656824Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.656838Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 52
2025-12-12T11:57:02.658590Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.658660Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 52 written { offset: 51 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.658667Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.658672Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.756656Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.756693Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.757033Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:02.757050Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.757077Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
51 closed
2025-12-12T11:57:02.757093Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0fae894-328747fc-d2a66b53-8e309f6_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 52
2025-12-12T11:57:02.757250Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.757272Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.758532Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.758580Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.758661Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.764868Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.764893Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622764 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.764942Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 52 session_id: "test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0"
2025-12-12T11:57:02.764948Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.765031Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.765080Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.766148Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.766164Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.766173Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.766438Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.766528Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.766547Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.766614Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.772789Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.772836Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d7310773-68a8bff8-e993dad6-a21870df_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 52 session_id: "test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0"
2025-12-12T11:57:02.772842Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.772903Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 52 message written
2025-12-12T11:57:02.772958Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.773034Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.773047Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 53
2025-12-12T11:57:02.774774Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.774818Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 53 written { offset: 52 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.774826Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.774830Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.873058Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.873083Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.873418Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:02.873432Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.873447Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
52 closed
2025-12-12T11:57:02.873463Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|482890fd-143ff44a-f57c9052-4eedfc71_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 53
2025-12-12T11:57:02.873616Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.873639Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.874515Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.874556Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.874636Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.880262Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.880307Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622880 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.880343Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 53 session_id: "test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0"
2025-12-12T11:57:02.880348Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.880419Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.880464Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.881547Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.881560Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.881567Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.881818Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.881916Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.881942Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.882059Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.887466Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.887505Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|79143336-ecb1ee59-48650ebd-a0f860b3_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 53 session_id: "test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0"
2025-12-12T11:57:02.887509Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.887575Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 53 message written
2025-12-12T11:57:02.887625Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:02.887717Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:02.887727Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 54
2025-12-12T11:57:02.889444Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.889484Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 54 written { offset: 53 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:02.889491Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:02.889495Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:02.987732Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:02.987769Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:02.988096Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
2025-12-12T11:57:02.988115Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
>>> write session 2025-12-12T11:57:02.988130Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
53 closed
2025-12-12T11:57:02.988145Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|80ac6878-55314cf8-61a96e9d-819c5f2d_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 54
2025-12-12T11:57:02.988359Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:02.988382Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:02.989562Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:02.989607Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:02.989701Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:02.996105Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:02.996135Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540622996 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:02.996170Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 54 session_id: "test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0"
2025-12-12T11:57:02.996194Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:02.996294Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:02.996340Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:02.997391Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:02.997404Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:02.997411Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:02.997684Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:02.997760Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:02.997784Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:02.997873Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.002850Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.002883Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|31229d0c-7e4a5bb9-7bb7c15f-d148992c_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 54 session_id: "test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0"
2025-12-12T11:57:03.002889Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.002968Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 54 message written
2025-12-12T11:57:03.003025Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.003123Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.003136Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 55
2025-12-12T11:57:03.004486Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.004525Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 55 written { offset: 54 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.004531Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.004535Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.103093Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.103123Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.103330Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 54 closed
2025-12-12T11:57:03.103361Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d8b5b04-c5bd4b06-f1d4fc63-4fb9bded_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 55
2025-12-12T11:57:03.103423Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.103442Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.104446Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.104485Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.104559Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.109597Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.109617Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623109 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.109647Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 55 session_id: "test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0"
2025-12-12T11:57:03.109652Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.109733Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.109768Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.110610Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.110621Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.110624Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.110862Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.110986Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.111011Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.111118Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.115620Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.115649Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|159b7afb-fa9d333b-4af027da-ef266e79_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 55 session_id: "test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0"
2025-12-12T11:57:03.115655Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.115702Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 55 message written
2025-12-12T11:57:03.115753Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.115831Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.115844Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 56
2025-12-12T11:57:03.117192Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.117228Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 56 written { offset: 55 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.117234Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.117238Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.215819Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.215851Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.216234Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:03.216255Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
55 closed2025-12-12T11:57:03.216267Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:03.216291Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|87d4c4d-7f4dc892-fabdc019-7c02c840_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 56
2025-12-12T11:57:03.216462Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.216485Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.217490Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.217533Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.217630Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.223353Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.223379Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623223 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.223414Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 56 session_id: "test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0"
2025-12-12T11:57:03.223419Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.223507Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.223549Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.224639Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.224653Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.224659Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.224898Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.225026Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.225059Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.225156Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.230487Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.230521Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c4c6425e-1cd9db8d-c9ea7b48-cd7a8a83_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 56 session_id: "test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0"
2025-12-12T11:57:03.230526Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.230607Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 56 message written
2025-12-12T11:57:03.230667Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.230740Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.230750Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 57
2025-12-12T11:57:03.232554Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.232598Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 57 written { offset: 56 } } write_statistics { persisting_time { nanos: 2000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.232602Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.232606Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.330774Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.330800Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.331004Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 56 closed
2025-12-12T11:57:03.331034Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|992ac4c0-59c14cdb-e4298e81-18d6fdd2_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 57
2025-12-12T11:57:03.331101Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.331125Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.331490Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.331529Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.331657Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.338108Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.338130Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623338 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.338156Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 57 session_id: "test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0"
2025-12-12T11:57:03.338160Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.338230Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.338268Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.339234Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.339248Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.339253Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.339510Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.339608Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.339643Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.339735Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.344009Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.344046Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|f1fc6be-f264468a-7d6532a1-3b391f45_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 57 session_id: "test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0"
2025-12-12T11:57:03.344053Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.344120Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 57 message written
2025-12-12T11:57:03.344171Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.344266Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.344287Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 58
2025-12-12T11:57:03.345618Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.345651Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 58 written { offset: 57 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.345657Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.345662Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.444411Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.444439Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.444749Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:03.444769Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
57 closed2025-12-12T11:57:03.444785Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:03.444798Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|15c7d6c6-77706839-63a860b5-f747f8c4_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 58
2025-12-12T11:57:03.444933Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.444961Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.445520Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.445570Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.445667Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.451955Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.451984Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623451 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.452018Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 58 session_id: "test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0"
2025-12-12T11:57:03.452024Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.452120Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.452163Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.453383Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.453405Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.453414Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.453695Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.453782Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.453809Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.453907Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.460084Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.460127Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1c1883a4-9c95788e-94b9655a-95143e_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 58 session_id: "test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0"
2025-12-12T11:57:03.460132Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.460207Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 58 message written
2025-12-12T11:57:03.460258Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.460380Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.460395Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 59
2025-12-12T11:57:03.461977Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.462016Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 59 written { offset: 58 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.462021Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.462024Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.560355Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.560382Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.560590Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 58 closed
2025-12-12T11:57:03.560631Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1437c5a-4290de65-e913da09-a0c9a86c_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 59
2025-12-12T11:57:03.560693Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.560712Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.561478Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.561517Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.561581Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.567357Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.567379Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623567 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.567409Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 59 session_id: "test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0"
2025-12-12T11:57:03.567413Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.567475Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.567510Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.568570Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.568583Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.568588Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.568845Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.568931Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.568951Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.569040Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.574814Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.574871Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e30ceca7-5640cf56-69c9900e-b5644a1f_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 59 session_id: "test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0"
2025-12-12T11:57:03.574879Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.574947Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 59 message written
2025-12-12T11:57:03.575014Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.575120Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.575133Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 60
2025-12-12T11:57:03.576805Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.576848Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 60 written { offset: 59 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.576853Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.576856Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.675114Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.675145Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.675398Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 59 closed
2025-12-12T11:57:03.675433Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|187f1d69-c32fdc32-b5184292-4c3fc402_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 60
2025-12-12T11:57:03.675511Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.675531Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.676487Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.676528Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.676605Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.683121Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.683148Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623683 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.683182Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 60 session_id: "test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0"
2025-12-12T11:57:03.683188Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.683264Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.683304Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.684467Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.684500Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.684505Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.684801Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.684970Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.684994Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.685085Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.691360Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.691400Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|658d7a04-d4845831-723bcc2e-2f8f18ab_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 60 session_id: "test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0"
2025-12-12T11:57:03.691405Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.691478Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 60 message written
2025-12-12T11:57:03.691535Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.691647Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.691661Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 61
2025-12-12T11:57:03.693323Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.693360Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 61 written { offset: 60 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.693366Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.693369Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.791630Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.791660Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.791972Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:03.791983Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
60 closed2025-12-12T11:57:03.791995Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:03.792015Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7b3f08e8-cde32454-c79cdc6a-d2136e50_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 61
2025-12-12T11:57:03.792161Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.792198Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.793471Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.793512Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.793590Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.799904Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.799926Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623799 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.799959Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 61 session_id: "test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0"
2025-12-12T11:57:03.799963Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.800019Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.800057Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.801053Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.801066Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.801073Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.801319Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.801416Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.801437Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.801505Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.807053Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.807100Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4007f3e8-2b7c028a-ff1765da-5681b831_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 61 session_id: "test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0"
2025-12-12T11:57:03.807105Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.807164Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 61 message written
2025-12-12T11:57:03.807219Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.807301Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.807314Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 62
2025-12-12T11:57:03.809068Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.809105Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 62 written { offset: 61 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.809109Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.809112Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:03.907324Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:03.907359Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:03.907658Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 61 closed
2025-12-12T11:57:03.907697Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|dd8ce115-8394ec09-a3f84fa8-4f100516_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 62
2025-12-12T11:57:03.907779Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:03.907804Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:03.908547Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:03.908595Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:03.908688Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.914704Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.914726Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540623914 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:03.914755Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 62 session_id: "test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0"
2025-12-12T11:57:03.914761Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.914821Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:03.914871Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:03.915869Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:03.915881Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:03.915886Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:03.916112Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:03.916217Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:03.916239Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:03.916326Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:03.920915Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.920948Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e7da204b-8c3948b9-3a894408-6f13449a_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 62 session_id: "test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0"
2025-12-12T11:57:03.920954Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:03.921010Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 62 message written
2025-12-12T11:57:03.921061Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:03.921150Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:03.921163Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 63
2025-12-12T11:57:03.922631Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:03.922657Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 63 written { offset: 62 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:03.922661Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:03.922664Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.021150Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.021175Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.021364Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 62 closed
2025-12-12T11:57:04.021394Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d6c6036b-e6019e63-96fb4643-dacfbddc_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 63
2025-12-12T11:57:04.021452Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.021469Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.022471Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.022510Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.022584Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.028328Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.028349Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624028 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.028373Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 63 session_id: "test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0"
2025-12-12T11:57:04.028376Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.028435Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.028476Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.029342Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.029363Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.029367Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.029589Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.029705Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.029721Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.029780Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.034319Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.034349Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e06977bb-734da9f4-5e33124e-fe2f4677_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 63 session_id: "test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0"
2025-12-12T11:57:04.034354Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.034418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 63 message written
2025-12-12T11:57:04.034470Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.034606Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.034616Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 64
2025-12-12T11:57:04.036350Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.036388Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 64 written { offset: 63 } } write_statistics { persisting_time { nanos: 2000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.036394Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.036398Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.134571Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.134600Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.134832Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 63 closed
2025-12-12T11:57:04.134864Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|4fc462f6-4bf12757-660c22fe-f331b30c_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 64
2025-12-12T11:57:04.134933Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.134952Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.135516Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.135559Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.135652Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.141754Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.141773Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624141 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.141797Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 64 session_id: "test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0"
2025-12-12T11:57:04.141801Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.141854Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.141896Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.142903Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.142916Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.142922Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.143144Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.143245Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.143280Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.143364Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.148086Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.148129Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5abd6a35-356da3f5-b1dc0b0c-1cac524e_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 64 session_id: "test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0"
2025-12-12T11:57:04.148135Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.148231Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 64 message written
2025-12-12T11:57:04.148305Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.148395Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.148410Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 65
2025-12-12T11:57:04.150008Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.150053Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 65 written { offset: 64 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.150059Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.150063Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.248405Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.248435Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.248665Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 64 closed
2025-12-12T11:57:04.248701Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c8a49222-87405e30-b6ed0a10-f5d4dfb4_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 65
2025-12-12T11:57:04.248799Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.248821Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.249510Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.249567Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.249656Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.255653Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.255679Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624255 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.255713Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 65 session_id: "test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0"
2025-12-12T11:57:04.255718Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.255798Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.255840Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.256842Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.256865Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.256871Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.257128Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.257230Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.257251Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.257350Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.263592Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.263641Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b0a93a49-848e4ae4-802a4e78-f875b1dd_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 65 session_id: "test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0"
2025-12-12T11:57:04.263646Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.263711Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 65 message written
2025-12-12T11:57:04.263783Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.263861Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.263872Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 66
2025-12-12T11:57:04.265162Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.265199Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 66 written { offset: 65 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.265205Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.265209Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.363891Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.363920Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.364165Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 65 closed
2025-12-12T11:57:04.364223Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8def14ba-86e8f0ef-811c8d54-4815fe16_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 66
2025-12-12T11:57:04.364315Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.364336Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.365429Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.365466Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.365532Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.371186Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.371208Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624371 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.371239Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 66 session_id: "test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0"
2025-12-12T11:57:04.371244Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.371303Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.371351Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.372416Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.372433Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.372438Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.372698Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.372873Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.372902Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.373020Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.379549Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.379593Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|39c28503-8a5deda7-6800fd9d-96383006_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 66 session_id: "test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0"
2025-12-12T11:57:04.379599Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.379655Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 66 message written
2025-12-12T11:57:04.379703Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.379820Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.379833Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 67
2025-12-12T11:57:04.381533Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.381591Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 67 written { offset: 66 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.381598Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.381603Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.479820Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.479852Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.480095Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 66 closed
2025-12-12T11:57:04.480131Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16c92b5d-371c95ce-86b516b1-e9b07fd7_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 67
2025-12-12T11:57:04.480227Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.480250Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.481558Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.481604Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.481720Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.489483Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.489508Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624489 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.489542Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 67 session_id: "test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0"
2025-12-12T11:57:04.489548Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.489624Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.489689Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.490816Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.490832Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.490837Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.491116Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.491211Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.491238Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.491332Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.497664Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.497715Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|be1f7812-c1d053f8-93492b95-661d6f71_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 67 session_id: "test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0"
2025-12-12T11:57:04.497722Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.497811Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 67 message written
2025-12-12T11:57:04.497874Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.497957Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.497970Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 68
2025-12-12T11:57:04.500094Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.500153Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 68 written { offset: 67 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.500160Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.500164Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.597985Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.598015Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.598249Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 67 closed
2025-12-12T11:57:04.598282Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d87470a-deae4f82-4dd925b8-4a14035e_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 68
2025-12-12T11:57:04.598360Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.598381Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.599535Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.599580Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.599687Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.606024Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.606047Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624606 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.606072Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 68 session_id: "test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0"
2025-12-12T11:57:04.606076Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.606136Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.606194Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.607464Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.607482Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.607487Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.607785Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.607899Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.607927Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.608045Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.612671Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.612708Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a1a02980-d548eda1-480203cb-5a91b753_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 68 session_id: "test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0"
2025-12-12T11:57:04.612713Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.612787Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 68 message written
2025-12-12T11:57:04.612853Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.612935Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.612949Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 69
2025-12-12T11:57:04.614207Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.614234Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 69 written { offset: 68 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.614239Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.614242Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.712954Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.712983Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.713306Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 68 closed
2025-12-12T11:57:04.713331Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.713353Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:04.713368Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8126aa5a-619406af-33dd0bd7-24f82afd_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 69
2025-12-12T11:57:04.713525Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.713547Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.714526Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.714573Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.714665Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.722110Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.722136Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624722 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.722170Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 69 session_id: "test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0"
2025-12-12T11:57:04.722176Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.722250Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.722311Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.723440Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.723455Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.723465Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.723724Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.723819Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.723845Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.723933Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.729760Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.729808Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b57f91db-85fc5ddf-6baabda1-a1156aa_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 69 session_id: "test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0"
2025-12-12T11:57:04.729815Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.729882Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 69 message written
2025-12-12T11:57:04.729941Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.730029Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.730043Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 70
2025-12-12T11:57:04.731641Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.731683Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 70 written { offset: 69 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.731689Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.731694Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.830010Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.830036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.830265Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 69 closed
2025-12-12T11:57:04.830300Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a970445b-17bbe395-22d5a38b-cca98052_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 70
2025-12-12T11:57:04.830376Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.830399Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.831535Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.831581Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.831678Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.838375Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.838402Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624838 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.838436Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 70 session_id: "test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0"
2025-12-12T11:57:04.838441Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.838526Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.838580Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.839698Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.839713Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.839717Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.839981Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.840080Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.840119Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.840246Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.846600Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.846651Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b4f3cfbb-92461aec-f5147afc-66020d06_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 70 session_id: "test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0"
2025-12-12T11:57:04.846658Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.846729Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 70 message written
2025-12-12T11:57:04.846783Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.846894Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.846909Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 71
2025-12-12T11:57:04.848491Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.848548Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 71 written { offset: 70 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.848556Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.848561Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:04.946846Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:04.946872Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:04.947181Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 70 closed
2025-12-12T11:57:04.947209Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.947224Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:04.947256Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|602b1c66-63fc7423-6a72bf3f-b91c7306_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 71
2025-12-12T11:57:04.947449Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:04.947489Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:04.948514Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:04.948560Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:04.948666Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.958240Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.958268Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540624958 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:04.958303Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 71 session_id: "test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0"
2025-12-12T11:57:04.958309Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.958412Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:04.958457Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:04.959651Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:04.959665Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:04.959670Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:04.959938Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:04.960054Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:04.960080Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:04.960191Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:04.966497Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.966538Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|d4cecc8e-c43ce314-6b6cba21-b81e9ff3_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 71 session_id: "test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0"
2025-12-12T11:57:04.966544Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:04.966606Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 71 message written
2025-12-12T11:57:04.966665Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:04.966744Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:04.966755Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 72
2025-12-12T11:57:04.968373Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:04.968420Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 72 written { offset: 71 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:04.968427Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:04.968431Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.066777Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.066807Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.067079Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 71 closed
2025-12-12T11:57:05.067115Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6596c355-dc887b83-9ac788ab-2b12ef06_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 72
2025-12-12T11:57:05.067210Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.067237Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.068560Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.068610Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.068719Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.075096Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.075130Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625075 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.075168Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 72 session_id: "test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0"
2025-12-12T11:57:05.075173Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.075272Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.075330Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.076340Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.076359Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.076364Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.076719Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.076835Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.076867Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.076970Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.083337Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.083381Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|836562d-9e5f7c7f-6bf2bfc9-eae4d1b0_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 72 session_id: "test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0"
2025-12-12T11:57:05.083386Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.083445Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 72 message written
2025-12-12T11:57:05.083497Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.083591Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.083607Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 73
2025-12-12T11:57:05.085187Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.085241Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 73 written { offset: 72 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.085247Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.085252Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.183620Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.183652Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.183901Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 72 closed
2025-12-12T11:57:05.183934Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|851454c1-ac96ed7c-356ac004-c5f8078e_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 73
2025-12-12T11:57:05.184013Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.184034Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.184628Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.184675Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.184761Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.191628Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.191657Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625191 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.191692Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 73 session_id: "test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0"
2025-12-12T11:57:05.191697Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.191782Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.191828Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.192965Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.192980Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.192985Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.193265Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.193390Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.193416Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.193514Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.199776Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.199817Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6f88f15a-ad957583-7071784f-32252437_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 73 session_id: "test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0"
2025-12-12T11:57:05.199822Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.199879Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 73 message written
2025-12-12T11:57:05.199936Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.200005Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.200016Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 74
2025-12-12T11:57:05.201604Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.201653Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 74 written { offset: 73 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.201659Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.201662Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.300073Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.300105Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.300433Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 73 closed
2025-12-12T11:57:05.300470Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c806e1da-3288164e-d9ce7fea-e32e5a69_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 74
2025-12-12T11:57:05.300557Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.300585Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.301507Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.301564Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.301680Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.308517Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.308544Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625308 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.308580Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 74 session_id: "test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0"
2025-12-12T11:57:05.308585Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.308669Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.308712Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.309811Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.309826Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.309829Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.310134Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.310232Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.310259Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.310353Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.316673Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.316735Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fa14b723-5c6b49ec-244b4cd1-c3fd7250_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 74 session_id: "test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0"
2025-12-12T11:57:05.316740Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.316803Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 74 message written
2025-12-12T11:57:05.316867Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.316936Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.316951Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 75
2025-12-12T11:57:05.318804Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.318859Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 75 written { offset: 74 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.318866Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.318871Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.416965Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.416994Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.417230Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 74 closed
2025-12-12T11:57:05.417263Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9c78a2c-ce6411e4-5748a2a2-23a0ccac_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 75
2025-12-12T11:57:05.417341Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.417363Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.418557Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.418597Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.418680Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.425045Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.425068Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625425 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.425101Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 75 session_id: "test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0"
2025-12-12T11:57:05.425106Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.425187Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.425231Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.426228Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.426240Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.426243Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.426464Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.426646Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.426673Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.426764Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.433287Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.433337Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b6132c49-8eb5c58a-9bfdda2f-70a7ca77_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 75 session_id: "test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0"
2025-12-12T11:57:05.433344Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.433403Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 75 message written
2025-12-12T11:57:05.433459Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.433539Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.433549Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 76
2025-12-12T11:57:05.435144Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.435187Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 76 written { offset: 75 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.435194Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.435198Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.533582Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.533612Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.533835Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 75 closed
2025-12-12T11:57:05.533869Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3029480b-668ba1a1-642910-2a296ba1_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 76
2025-12-12T11:57:05.533969Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.533995Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.534490Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.534535Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.534634Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.540739Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.540767Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625540 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.540801Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 76 session_id: "test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0"
2025-12-12T11:57:05.540806Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.540870Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.540910Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.542011Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.542030Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.542036Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.542303Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.542407Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.542433Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.542525Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.549229Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.549284Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|173816bc-ea5767aa-5c48fe7c-48785aa1_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 76 session_id: "test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0"
2025-12-12T11:57:05.549290Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.549396Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 76 message written
2025-12-12T11:57:05.549459Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.549585Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.549599Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 77
2025-12-12T11:57:05.551446Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.551493Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 77 written { offset: 76 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.551500Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.551505Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.649576Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.649615Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.649864Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 76 closed
2025-12-12T11:57:05.649901Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ba3eae3f-fdf87197-256c0dbb-c751d4e_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 77
2025-12-12T11:57:05.649987Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.650009Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.650546Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.650593Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.650675Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.657558Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.657582Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625657 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.657610Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 77 session_id: "test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0"
2025-12-12T11:57:05.657614Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.657690Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.657733Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.658792Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.658807Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.658814Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.659062Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.659141Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.659165Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.659247Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.664426Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.664469Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2237374f-e1d651e1-3e7e4e8-60ca755e_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 77 session_id: "test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0"
2025-12-12T11:57:05.664474Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.664546Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 77 message written
2025-12-12T11:57:05.664605Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.664700Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.664712Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 78
2025-12-12T11:57:05.666588Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.666629Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 78 written { offset: 77 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { nanos: 1000000 } max_queue_wait_time { nanos: 1000000 } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.666634Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.666637Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.764722Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.764757Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.765017Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 77 closed
2025-12-12T11:57:05.765057Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|16f46f47-35363a9a-969cd4f6-5159c7df_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 78
2025-12-12T11:57:05.765149Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.765173Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.766507Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.766551Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.766635Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.773196Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.773220Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625773 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.773250Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 78 session_id: "test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0"
2025-12-12T11:57:05.773255Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.773334Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.773373Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.774309Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.774318Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.774324Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.774564Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.774660Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.774687Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.774775Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.780440Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.780488Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7c5ed1ef-7f5594e7-667b959-9c9c3e2b_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 78 session_id: "test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0"
2025-12-12T11:57:05.780494Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.780555Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 78 message written
2025-12-12T11:57:05.780615Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.780681Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.780692Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 79
2025-12-12T11:57:05.782286Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.782341Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 79 written { offset: 78 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.782348Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.782352Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.880722Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.880754Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.880986Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 78 closed
2025-12-12T11:57:05.881019Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fff97abe-de6c05db-27cd7681-3ca09b1c_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 79
2025-12-12T11:57:05.881080Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.881104Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.881481Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.881529Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.881616Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.886702Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.886726Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540625886 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:05.886759Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 79 session_id: "test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0"
2025-12-12T11:57:05.886764Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.886837Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:05.886889Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:05.888027Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:05.888055Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:05.888059Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:05.888403Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:05.888540Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:05.888567Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:05.888663Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:05.895246Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.895295Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|712e3a44-d8b91e38-d0651414-7653b9ca_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 79 session_id: "test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0"
2025-12-12T11:57:05.895301Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:05.895381Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 79 message written
2025-12-12T11:57:05.895438Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:05.895580Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:05.895602Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 80
2025-12-12T11:57:05.897454Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:05.897507Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 80 written { offset: 79 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:05.897513Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:05.897517Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:05.995557Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:05.995589Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:05.995839Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 79 closed
2025-12-12T11:57:05.995875Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b269b84e-fb38493e-e655ba5f-532d5cdc_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 80
2025-12-12T11:57:05.995955Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:05.995979Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:05.996497Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:05.996544Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:05.996656Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.002912Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.002939Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626002 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.002973Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 80 session_id: "test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0"
2025-12-12T11:57:06.002978Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.003090Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.003133Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.004312Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.004333Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.004338Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.004655Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.004779Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.004805Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.004968Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.010951Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.011017Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|493be7f3-d7dbe8cb-5b03cf33-17c4fbce_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 80 session_id: "test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0"
2025-12-12T11:57:06.011025Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.011110Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 80 message written
2025-12-12T11:57:06.011183Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.011275Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.011290Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 81
2025-12-12T11:57:06.013085Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.013141Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 81 written { offset: 80 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.013147Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.013152Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.111282Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.111308Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.111627Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:06.111639Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
80 closed
2025-12-12T11:57:06.111654Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:06.111669Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1159d787-50e09539-9c513962-fb5a56b4_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 81
2025-12-12T11:57:06.111841Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.111863Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.112473Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.112521Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.112592Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.119229Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.119254Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626119 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.119284Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 81 session_id: "test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0"
2025-12-12T11:57:06.119288Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.119360Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.119430Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.120433Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.120447Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.120456Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.120704Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.120788Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.120815Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.120895Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.126528Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.126569Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5e293a56-4c50063a-65a3344b-6b403978_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 81 session_id: "test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0"
2025-12-12T11:57:06.126575Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.126632Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 81 message written
2025-12-12T11:57:06.126681Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.126792Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.126805Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 82
2025-12-12T11:57:06.128594Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.128646Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 82 written { offset: 81 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.128652Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.128657Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.226789Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.226819Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.227062Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 81 closed
2025-12-12T11:57:06.227097Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|333183f6-73010b84-8c33afdd-45091086_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 82
2025-12-12T11:57:06.227182Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.227207Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.228494Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.228554Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.228636Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.237523Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.237561Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626237 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.237596Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 82 session_id: "test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0"
2025-12-12T11:57:06.237602Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.237684Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.237737Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.238947Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.238966Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.238971Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.239273Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.239376Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.239402Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.239499Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.246738Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.246796Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2b3c5eee-eafdd385-b85a0b4-d92b83cb_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 82 session_id: "test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0"
2025-12-12T11:57:06.246803Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.246873Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 82 message written
2025-12-12T11:57:06.246934Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.247076Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.247097Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 83
2025-12-12T11:57:06.249539Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.249597Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 83 written { offset: 82 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.249603Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.249606Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.347039Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.347071Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.347331Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 82 closed
2025-12-12T11:57:06.347369Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a86bdf0d-7d6fd782-d071ba86-c3e40dcd_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 83
2025-12-12T11:57:06.347447Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.347472Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.348578Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.348618Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.348689Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.354962Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.354994Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626354 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.355032Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 83 session_id: "test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0"
2025-12-12T11:57:06.355038Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.355131Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.355194Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.356398Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.356418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.356424Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.356740Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.356851Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.356882Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.356998Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.363059Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.363126Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b92f10e6-d3c3128-dd790403-57b1d0ce_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 83 session_id: "test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0"
2025-12-12T11:57:06.363133Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.363201Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 83 message written
2025-12-12T11:57:06.363270Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.363400Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.363414Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 84
2025-12-12T11:57:06.365193Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.365242Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 84 written { offset: 83 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.365248Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.365253Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.463348Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.463378Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.463574Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 83 closed
2025-12-12T11:57:06.463613Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|6845a861-8545d5ec-4fc3cfe6-842406c3_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 84
2025-12-12T11:57:06.463692Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.463713Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.464561Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.464604Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.464704Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.470669Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.470710Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626470 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.470746Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 84 session_id: "test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0"
2025-12-12T11:57:06.470751Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.470823Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.470868Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.472147Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.472166Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.472171Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.472511Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.472619Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.472649Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.472748Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.479123Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.479172Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|29699d2-462a194e-af31f0a2-d60a1aaf_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 84 session_id: "test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0"
2025-12-12T11:57:06.479179Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.479267Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 84 message written
2025-12-12T11:57:06.479330Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.479511Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.479526Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 85
2025-12-12T11:57:06.481278Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.481327Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 85 written { offset: 84 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.481331Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.481335Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.579437Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.579470Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.579682Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 84 closed
2025-12-12T11:57:06.579726Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fa1951f-98a67d8f-b073d877-c1789d52_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 85
2025-12-12T11:57:06.579805Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.579825Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.580534Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.580580Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.580685Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.588681Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.588709Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626588 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.588749Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 85 session_id: "test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0"
2025-12-12T11:57:06.588754Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.588836Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.588906Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.590357Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.590371Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.590375Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.590654Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.590768Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.590796Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.590903Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.597537Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.597573Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|22d55c4f-87ae67d4-9fd6e257-8e6087_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 85 session_id: "test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0"
2025-12-12T11:57:06.597577Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.597638Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 85 message written
2025-12-12T11:57:06.597694Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.597819Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.597833Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 86
2025-12-12T11:57:06.599404Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.599454Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 86 written { offset: 85 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.599459Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.599462Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.697791Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.697822Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.698053Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 85 closed
2025-12-12T11:57:06.698088Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3705fb7d-7564eedc-12ce2382-4d7361b_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 86
2025-12-12T11:57:06.698162Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.698183Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.699500Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.699559Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.699655Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.706011Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.706031Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626706 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.706057Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 86 session_id: "test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0"
2025-12-12T11:57:06.706061Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.706115Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.706153Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.707166Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.707180Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.707185Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.707418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.707519Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.707545Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.707648Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.714323Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.714364Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|edbbccb0-da6c57fd-48419b44-4983bdf7_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 86 session_id: "test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0"
2025-12-12T11:57:06.714369Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.714418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 86 message written
2025-12-12T11:57:06.714465Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.714557Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.714569Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 87
2025-12-12T11:57:06.716100Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.716130Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 87 written { offset: 86 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.716135Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.716138Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.814577Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.814611Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.814856Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 86 closed
2025-12-12T11:57:06.814891Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|a9560ce3-4a004369-8c4182b1-131a737e_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 87
2025-12-12T11:57:06.814962Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.814980Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.815576Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.815625Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.815717Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.821977Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.822005Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626821 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.822037Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 87 session_id: "test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0"
2025-12-12T11:57:06.822043Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.822127Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.822179Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.823222Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.823232Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.823237Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.823479Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.823725Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.823753Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.823844Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.830342Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.830387Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|ca1f40f2-4392232f-26c715a5-43436a9d_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 87 session_id: "test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0"
2025-12-12T11:57:06.830392Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.830465Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 87 message written
2025-12-12T11:57:06.830525Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.830602Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.830616Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 88
2025-12-12T11:57:06.832327Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.832368Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 88 written { offset: 87 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.832372Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.832375Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:06.930648Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:06.930681Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:06.931021Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:06.931036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
87 closed
2025-12-12T11:57:06.931067Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:06.931084Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|27cedbed-64406b56-ddacc9a4-30d407a0_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 88
2025-12-12T11:57:06.931281Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:06.931304Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:06.932504Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:06.932547Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:06.932640Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.939663Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.939690Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540626939 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:06.939728Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 88 session_id: "test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0"
2025-12-12T11:57:06.939733Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.939807Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:06.939858Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:06.941068Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:06.941085Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:06.941094Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:06.941419Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:06.941505Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:06.941548Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:06.941648Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:06.947934Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.947986Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|438e62d2-5104deee-2b65b8f0-ae8a8d37_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 88 session_id: "test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0"
2025-12-12T11:57:06.947992Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:06.948072Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 88 message written
2025-12-12T11:57:06.948146Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:06.948262Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:06.948275Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 89
2025-12-12T11:57:06.949904Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:06.949954Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 89 written { offset: 88 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:06.949961Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:06.949965Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.048234Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.048275Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.048516Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 88 closed
2025-12-12T11:57:07.048561Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2427948d-aa5bbe17-cea6d630-79bb9b8d_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 89
2025-12-12T11:57:07.048641Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.048664Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.049503Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.049548Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.049634Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.056495Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.056523Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627056 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.056556Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 89 session_id: "test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0"
2025-12-12T11:57:07.056562Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.056636Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.056678Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.058017Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.058039Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.058045Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.058327Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.058432Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.058459Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.058570Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.064714Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.064774Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|9a8ba300-8431f28-510f1782-2849f298_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 89 session_id: "test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0"
2025-12-12T11:57:07.064781Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.064856Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 89 message written
2025-12-12T11:57:07.064916Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.065005Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.065021Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 90
2025-12-12T11:57:07.066785Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.066821Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 90 written { offset: 89 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.066825Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.066828Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.165016Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.165049Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.165342Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 89 closed
2025-12-12T11:57:07.165365Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.165384Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:07.165397Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2a642667-d51b938e-c15c6f23-e1b96d82_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 90
2025-12-12T11:57:07.165541Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.165557Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.166515Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.166559Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.166654Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.172994Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.173019Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627173 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.173054Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 90 session_id: "test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0"
2025-12-12T11:57:07.173060Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.173127Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.173168Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.174116Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.174129Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.174145Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.174418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.174515Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.174542Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.174642Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.181427Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.181475Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fe6c1ee3-9369ef47-9b700481-ce7caa09_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 90 session_id: "test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0"
2025-12-12T11:57:07.181481Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.181550Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 90 message written
2025-12-12T11:57:07.181621Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.181707Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.181721Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 91
2025-12-12T11:57:07.183372Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.183418Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 91 written { offset: 90 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.183424Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.183429Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.281724Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.281754Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.282090Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 90 closed
2025-12-12T11:57:07.282117Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.282135Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:07.282149Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|1a06b5a3-57f30072-da4e3f5c-3893a166_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 91
2025-12-12T11:57:07.282322Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.282358Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.283606Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.283669Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.283808Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.289856Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.289885Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627289 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.289923Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 91 session_id: "test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0"
2025-12-12T11:57:07.289929Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.290041Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.290098Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.291402Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.291419Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.291428Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.291745Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.291841Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.291870Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.291992Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.297999Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.298061Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|b2c04c63-4d6e7495-d092581d-72283122_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 91 session_id: "test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0"
2025-12-12T11:57:07.298068Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.298134Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 91 message written
2025-12-12T11:57:07.298190Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.298269Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.298280Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 92
2025-12-12T11:57:07.299868Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.299912Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 92 written { offset: 91 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.299918Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.299923Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.398314Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.398343Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.398584Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 91 closed
2025-12-12T11:57:07.398617Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e41bef59-4bda8d94-44a2a7d6-1c26f40f_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 92
2025-12-12T11:57:07.398691Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.398713Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.399525Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.399570Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.399653Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.406583Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.406608Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627406 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.406637Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 92 session_id: "test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0"
2025-12-12T11:57:07.406640Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.406699Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.406741Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.407891Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.407904Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.407908Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.408168Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.408299Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.408324Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.408434Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.414769Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.414815Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|2f9b7f31-658170fd-54b5bb30-5e29b049_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 92 session_id: "test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0"
2025-12-12T11:57:07.414829Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.414888Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 92 message written
2025-12-12T11:57:07.414946Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.415034Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.415047Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 93
2025-12-12T11:57:07.416621Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.416661Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 93 written { offset: 92 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.416666Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.416669Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.515057Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.515087Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.515421Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 2025-12-12T11:57:07.515435Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
92 closed
2025-12-12T11:57:07.515452Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:07.515460Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8da19c20-34e35c3b-f9bb6a62-43c83b6c_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 93
2025-12-12T11:57:07.515670Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.515693Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.516606Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.516669Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.516760Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.526296Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.526337Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627526 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.526376Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 93 session_id: "test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0"
2025-12-12T11:57:07.526382Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.526452Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.526501Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.527850Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.527875Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.527886Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.528262Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.528356Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.528394Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.528502Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.534763Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.534825Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|fcb1cb1-17bb47ff-a6d2b4c5-b941e9df_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 93 session_id: "test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0"
2025-12-12T11:57:07.534833Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.534915Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 93 message written
2025-12-12T11:57:07.534982Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.535076Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.535126Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 94
2025-12-12T11:57:07.536956Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.537011Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 94 written { offset: 93 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.537018Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.537023Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.635105Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.635136Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.635404Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 93 closed
2025-12-12T11:57:07.635441Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|297c05c8-5023bb5e-dd9a8a16-425fd244_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 94
2025-12-12T11:57:07.635530Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.635553Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.636603Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.636653Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.636753Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.645649Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.645680Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627645 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.645718Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 94 session_id: "test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0"
2025-12-12T11:57:07.645724Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.645812Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.645863Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.647381Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.647401Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.647405Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.647682Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.647831Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.647873Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.647979Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.654546Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.654603Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|959f148-d4ebfa98-f5922df2-2b240870_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 94 session_id: "test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0"
2025-12-12T11:57:07.654609Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.654708Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 94 message written
2025-12-12T11:57:07.654793Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.654874Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.654888Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 95
2025-12-12T11:57:07.656793Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.656850Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 95 written { offset: 94 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.656856Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.656860Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.754904Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.754935Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.755195Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 94 closed
2025-12-12T11:57:07.755234Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|21a8462-1bc79130-a710db43-a93e385b_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 95
2025-12-12T11:57:07.755316Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.755341Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.756545Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.756591Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.756692Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.763093Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.763117Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627763 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.763150Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 95 session_id: "test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0"
2025-12-12T11:57:07.763155Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.763221Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.763278Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.764547Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.764565Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.764570Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.764880Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.764965Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.764987Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.765089Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.771016Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.771060Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|42f10b89-acc75368-81c0523-3775224a_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 95 session_id: "test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0"
2025-12-12T11:57:07.771066Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.771130Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 95 message written
2025-12-12T11:57:07.771178Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.771250Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.771260Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 96
2025-12-12T11:57:07.772887Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.772928Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 96 written { offset: 95 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.772933Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.772937Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.871292Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.871320Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.871542Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 95 closed
2025-12-12T11:57:07.871574Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64a80ef6-665041d8-8c1c21a4-f2a2b5b4_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 96
2025-12-12T11:57:07.871653Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.871674Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.872524Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.872570Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.872668Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.878551Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.878577Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627878 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.878613Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 96 session_id: "test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0"
2025-12-12T11:57:07.878618Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.878689Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.878732Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.879942Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.879957Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.879960Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.880247Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.880361Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.880386Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.880494Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.886770Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.886817Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|c0972a1b-ccd3f1b4-d85f4b83-5240631d_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 96 session_id: "test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0"
2025-12-12T11:57:07.886824Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.886895Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 96 message written
2025-12-12T11:57:07.886951Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:07.887042Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:07.887056Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 97
2025-12-12T11:57:07.888755Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.888808Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 97 written { offset: 96 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:07.888816Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:07.888820Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:07.987063Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:07.987095Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:07.987325Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 96 closed
2025-12-12T11:57:07.987361Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|60f3fc33-614d965c-d0fa3772-6eb91ece_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 97
2025-12-12T11:57:07.987449Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:07.987470Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:07.988496Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:07.988543Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:07.988649Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:07.995333Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:07.995360Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540627995 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:07.995398Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 97 session_id: "test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0"
2025-12-12T11:57:07.995404Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:07.995482Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:07.995521Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:07.997126Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:07.997150Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:07.997157Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:07.997426Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:07.997739Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:07.997767Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:07.997877Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:08.004677Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.004729Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|7e9b02d3-92b25396-c6d41af-7aae179f_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 97 session_id: "test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0"
2025-12-12T11:57:08.004736Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:08.004806Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 97 message written
2025-12-12T11:57:08.004872Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:08.004985Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:08.004999Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 98
2025-12-12T11:57:08.006690Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.006739Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 98 written { offset: 97 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:08.006745Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:08.006750Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:08.104973Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:08.105004Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:08.105239Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 97 closed
2025-12-12T11:57:08.105272Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|64d96cd3-273f7766-2f2a92b9-fe642a2f_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 98
2025-12-12T11:57:08.105349Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:08.105371Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:08.106522Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:08.106570Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:08.106678Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:08.113167Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.113205Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540628113 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:08.113256Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 98 session_id: "test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0"
2025-12-12T11:57:08.113262Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:08.113335Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:08.113384Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:08.114631Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:08.114648Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:08.114653Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:08.114933Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:08.115020Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:08.115060Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:08.115156Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:08.121215Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.121252Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|295de4e7-748d5e8b-d5526436-5e05189_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 98 session_id: "test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0"
2025-12-12T11:57:08.121257Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:08.121324Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 98 message written
2025-12-12T11:57:08.121381Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:08.121452Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:08.121462Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 99
2025-12-12T11:57:08.123046Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.123082Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 99 written { offset: 98 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:08.123088Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:08.123092Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:08.221481Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:08.221511Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:08.221764Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 98 closed
2025-12-12T11:57:08.221803Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|e7c32d65-737d63da-24337db7-9105949b_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 99
2025-12-12T11:57:08.221882Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: try to update token
2025-12-12T11:57:08.221925Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Start write session. Will connect to nodeId: 0
2025-12-12T11:57:08.222546Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: write to message_group: test-message_group_id
2025-12-12T11:57:08.222597Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" message_group_id: "test-message_group_id" }
2025-12-12T11:57:08.222712Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:08.228899Z :DEBUG: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.228924Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540628228 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:08.228959Z :INFO: [local]  TraceId []  SessionId []  MessageGroupId [test-message_group_id] Write session established. Init response: last_seq_no: 99 session_id: "test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0"
2025-12-12T11:57:08.228965Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  MessageGroupId [test-message_group_id] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:08.229044Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 0.000000s
2025-12-12T11:57:08.229085Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:08.230294Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:08.230311Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:08.230316Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:08.230604Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:08.230715Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:08.230741Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:08.230845Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:08.238137Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.238194Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|5045d556-8bacaaf6-2df1a84-fa1d1244_0]  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 99 session_id: "test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0"
2025-12-12T11:57:08.238202Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: set DirectWriteToPartitionId 0
2025-12-12T11:57:08.238279Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 99 message written
2025-12-12T11:57:08.238355Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:08.238449Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:08.238462Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 100
2025-12-12T11:57:08.240438Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.240518Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 100 written { offset: 99 } } write_statistics { persisting_time { } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:08.240525Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:08.240530Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:08.338478Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:08.338513Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:08.338804Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 99 closed
2025-12-12T11:57:08.338843Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|3c629c76-79007e1b-91704a43-1fcd6d0f_0]  PartitionId [0]  Generation [1] Write session: destroy
>>> open write session 100
2025-12-12T11:57:08.338922Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Write session: try to update token
2025-12-12T11:57:08.338950Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Get partition location async, partition 0, delay 18446744073709.551615s
2025-12-12T11:57:08.339290Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0]  Getting partition location, partition 0
2025-12-12T11:57:08.340473Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] Got PartitionLocation response. Status SUCCESS, proto:
partition {
  active: true
  partition_location {
    node_id: 1
    generation: 1
  }
}
2025-12-12T11:57:08.340486Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [0] GetPreferredEndpoint: partitionId 0, partitionNodeId 1 exists in the endpoint pool.
2025-12-12T11:57:08.340490Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Start write session. Will connect to nodeId: 1
2025-12-12T11:57:08.340678Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: direct write to partition: 0, generation 1
2025-12-12T11:57:08.340708Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: send init request: init_request { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" producer_id: "test-message_group_id" partition_with_generation { generation: 1 } }
2025-12-12T11:57:08.340810Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnWriteDone gRpcStatusCode: 0
2025-12-12T11:57:08.347720Z :DEBUG: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.347747Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Counters: { Errors: 0 CurrentSessionLifetimeMs: 1765540628347 BytesWritten: 0 MessagesWritten: 0 BytesWrittenCompressed: 0 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:08.347790Z :INFO: [local]  TraceId []  SessionId []  PartitionId [0]  Generation [1] Write session established. Init response: last_seq_no: 100 session_id: "test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0"
2025-12-12T11:57:08.347866Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write 1 messages with Id from 1 to 1
>>> write session 100 message written
2025-12-12T11:57:08.347918Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: close. Timeout 18446744073709.551615s
2025-12-12T11:57:08.348036Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: try to update token
2025-12-12T11:57:08.348048Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Send 1 message(s) (0 left), first sequence number is 101
2025-12-12T11:57:08.349850Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 0
2025-12-12T11:57:08.349924Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session got write response: acks { seq_no: 101 written { offset: 100 } } write_statistics { persisting_time { nanos: 1000000 } min_queue_wait_time { } max_queue_wait_time { } partition_quota_wait_time { } topic_quota_wait_time { } }
2025-12-12T11:57:08.349931Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] OnAck: seqNo=1, txId=?
2025-12-12T11:57:08.349935Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: acknoledged message 1
2025-12-12T11:57:08.447993Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session will now close
2025-12-12T11:57:08.448021Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: aborting
2025-12-12T11:57:08.448428Z :INFO: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: gracefully shut down, all writes complete
>>> write session 100 closed
2025-12-12T11:57:08.448453Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: OnReadDone gRpcStatusCode: 1, Msg: CANCELLED, Details: , InternalError: 0
2025-12-12T11:57:08.448470Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session is aborting and will not restart
2025-12-12T11:57:08.448484Z :DEBUG: [local]  TraceId []  SessionId [test-message_group_id|8fd5557e-cc1623ba-4ab63c68-dcecddca_0]  PartitionId [0]  Generation [1] Write session: destroy
2025-12-12T11:57:08.448625Z :INFO: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] Starting read session
2025-12-12T11:57:08.448630Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] Starting single session
2025-12-12T11:57:08.448672Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] In Reconnect, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:08.448677Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] New values: ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:08.448682Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Reconnecting session to cluster  in 0.000000s
2025-12-12T11:57:08.449001Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Successfully connected. Initializing session
2025-12-12T11:57:08.449995Z :INFO: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Got InitResponse. ReadSessionId: BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1
2025-12-12T11:57:08.450017Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] In ContinueReadingDataImpl, ReadSizeBudget = 52428800, ReadSizeServerDelta = 0
2025-12-12T11:57:08.450100Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:57:08.451633Z :INFO: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Confirm partition stream create. Partition stream id: 1. Cluster: "-". Topic: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic". Partition: 0. Read offset: (NULL)
2025-12-12T11:57:08.451737Z :DEBUG: [local] 0x00005287FF752310 TDirectReadSessionManager ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 StartPartitionSession 1 nodeId=1
2025-12-12T11:57:08.451760Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 Reconnecting direct read session to node 1 in 0.000000s
2025-12-12T11:57:08.451966Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 AddPartitionSession 1
2025-12-12T11:57:08.451973Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:57:08.451976Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 SendStartRequestImpl bail out 1
2025-12-12T11:57:08.452065Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 Successfully connected. Initializing session
2025-12-12T11:57:08.452120Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 XXXXX subsession send message = init_request { session_id: "BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1" topics_read_settings { path: "sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic" } consumer: "BasicUsage-DirectRead_WriteRead-test-consumer" }
2025-12-12T11:57:08.453050Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 XXXXX subsession got message = status: SUCCESS init_response { }
2025-12-12T11:57:08.453064Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 Got InitResponse 
2025-12-12T11:57:08.453067Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 SendStartRequestImpl partitionSession.State=0 delayedCall=0
2025-12-12T11:57:08.453080Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 SendStartRequestImpl send request start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:08.453086Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 XXXXX subsession send message = start_direct_read_partition_session_request { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:08.453576Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 XXXXX subsession got message = status: SUCCESS start_direct_read_partition_session_response { partition_session_id: 1 generation: 1 }
2025-12-12T11:57:08.453589Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 Got StartDirectReadPartitionSessionResponse partition_session_id: 1 generation: 1
2025-12-12T11:57:08.456158Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 XXXXX subsession got message = DirectReadResponse partitionSessionId = 1 partitionId = 0 directReadId = 1 firstOffset = 0 lastOffset = 100
2025-12-12T11:57:08.456171Z :DEBUG: [local] 0x00005287FF603CA0 TDirectReadSession ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 NodeId=1 Waiting for NextDirectReadId=1. Got DirectReadResponse 1
2025-12-12T11:57:08.456564Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Got ReadResponse, serverBytesSize = 17701, now ReadSizeBudget = 0, ReadSizeServerDelta = 52411099
2025-12-12T11:57:08.456731Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] In ContinueReadingDataImpl, ReadSizeBudget = 0, ReadSizeServerDelta = 52411099
2025-12-12T11:57:08.456963Z :DEBUG: [local] Decompression task done. Partition/PartitionSessionId: 1 (0-100)
2025-12-12T11:57:08.456978Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Returning serverBytesSize = 17701 to budget
2025-12-12T11:57:08.456983Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] In ContinueReadingDataImpl, ReadSizeBudget = 17701, ReadSizeServerDelta = 52411099
2025-12-12T11:57:08.457064Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] After sending read request: ReadSizeBudget = 0, ReadSizeServerDelta = 52428800
2025-12-12T11:57:08.457153Z :DEBUG: [local] Take Data. Partition 0. Read: {0, 0} (0-0)
2025-12-12T11:57:08.457170Z :DEBUG: [local] Take Data. Partition 0. Read: {1, 0} (1-1)
2025-12-12T11:57:08.457176Z :DEBUG: [local] Take Data. Partition 0. Read: {2, 0} (2-2)
2025-12-12T11:57:08.457180Z :DEBUG: [local] Take Data. Partition 0. Read: {3, 0} (3-3)
2025-12-12T11:57:08.457187Z :DEBUG: [local] Take Data. Partition 0. Read: {4, 0} (4-4)
2025-12-12T11:57:08.457190Z :DEBUG: [local] Take Data. Partition 0. Read: {5, 0} (5-5)
2025-12-12T11:57:08.457194Z :DEBUG: [local] Take Data. Partition 0. Read: {6, 0} (6-6)
2025-12-12T11:57:08.457198Z :DEBUG: [local] Take Data. Partition 0. Read: {7, 0} (7-7)
2025-12-12T11:57:08.457220Z :DEBUG: [local] Take Data. Partition 0. Read: {8, 0} (8-8)
2025-12-12T11:57:08.457223Z :DEBUG: [local] Take Data. Partition 0. Read: {9, 0} (9-9)
2025-12-12T11:57:08.457226Z :DEBUG: [local] Take Data. Partition 0. Read: {10, 0} (10-10)
2025-12-12T11:57:08.457228Z :DEBUG: [local] Take Data. Partition 0. Read: {11, 0} (11-11)
2025-12-12T11:57:08.457230Z :DEBUG: [local] Take Data. Partition 0. Read: {12, 0} (12-12)
2025-12-12T11:57:08.457233Z :DEBUG: [local] Take Data. Partition 0. Read: {13, 0} (13-13)
2025-12-12T11:57:08.457236Z :DEBUG: [local] Take Data. Partition 0. Read: {14, 0} (14-14)
2025-12-12T11:57:08.457238Z :DEBUG: [local] Take Data. Partition 0. Read: {15, 0} (15-15)
2025-12-12T11:57:08.457245Z :DEBUG: [local] Take Data. Partition 0. Read: {16, 0} (16-16)
2025-12-12T11:57:08.457247Z :DEBUG: [local] Take Data. Partition 0. Read: {17, 0} (17-17)
2025-12-12T11:57:08.457250Z :DEBUG: [local] Take Data. Partition 0. Read: {18, 0} (18-18)
2025-12-12T11:57:08.457253Z :DEBUG: [local] Take Data. Partition 0. Read: {19, 0} (19-19)
2025-12-12T11:57:08.457256Z :DEBUG: [local] Take Data. Partition 0. Read: {20, 0} (20-20)
2025-12-12T11:57:08.457258Z :DEBUG: [local] Take Data. Partition 0. Read: {21, 0} (21-21)
2025-12-12T11:57:08.457260Z :DEBUG: [local] Take Data. Partition 0. Read: {22, 0} (22-22)
2025-12-12T11:57:08.457263Z :DEBUG: [local] Take Data. Partition 0. Read: {23, 0} (23-23)
2025-12-12T11:57:08.457265Z :DEBUG: [local] Take Data. Partition 0. Read: {24, 0} (24-24)
2025-12-12T11:57:08.457267Z :DEBUG: [local] Take Data. Partition 0. Read: {25, 0} (25-25)
2025-12-12T11:57:08.457270Z :DEBUG: [local] Take Data. Partition 0. Read: {26, 0} (26-26)
2025-12-12T11:57:08.457272Z :DEBUG: [local] Take Data. Partition 0. Read: {27, 0} (27-27)
2025-12-12T11:57:08.457274Z :DEBUG: [local] Take Data. Partition 0. Read: {28, 0} (28-28)
2025-12-12T11:57:08.457277Z :DEBUG: [local] Take Data. Partition 0. Read: {29, 0} (29-29)
2025-12-12T11:57:08.457279Z :DEBUG: [local] Take Data. Partition 0. Read: {30, 0} (30-30)
2025-12-12T11:57:08.457282Z :DEBUG: [local] Take Data. Partition 0. Read: {31, 0} (31-31)
2025-12-12T11:57:08.457300Z :DEBUG: [local] Take Data. Partition 0. Read: {32, 0} (32-32)
2025-12-12T11:57:08.457302Z :DEBUG: [local] Take Data. Partition 0. Read: {33, 0} (33-33)
2025-12-12T11:57:08.457305Z :DEBUG: [local] Take Data. Partition 0. Read: {34, 0} (34-34)
2025-12-12T11:57:08.457307Z :DEBUG: [local] Take Data. Partition 0. Read: {35, 0} (35-35)
2025-12-12T11:57:08.457309Z :DEBUG: [local] Take Data. Partition 0. Read: {36, 0} (36-36)
2025-12-12T11:57:08.457312Z :DEBUG: [local] Take Data. Partition 0. Read: {37, 0} (37-37)
2025-12-12T11:57:08.457314Z :DEBUG: [local] Take Data. Partition 0. Read: {38, 0} (38-38)
2025-12-12T11:57:08.457317Z :DEBUG: [local] Take Data. Partition 0. Read: {39, 0} (39-39)
2025-12-12T11:57:08.457319Z :DEBUG: [local] Take Data. Partition 0. Read: {40, 0} (40-40)
2025-12-12T11:57:08.457321Z :DEBUG: [local] Take Data. Partition 0. Read: {41, 0} (41-41)
2025-12-12T11:57:08.457324Z :DEBUG: [local] Take Data. Partition 0. Read: {42, 0} (42-42)
2025-12-12T11:57:08.457326Z :DEBUG: [local] Take Data. Partition 0. Read: {43, 0} (43-43)
2025-12-12T11:57:08.457328Z :DEBUG: [local] Take Data. Partition 0. Read: {44, 0} (44-44)
2025-12-12T11:57:08.457331Z :DEBUG: [local] Take Data. Partition 0. Read: {45, 0} (45-45)
2025-12-12T11:57:08.457335Z :DEBUG: [local] Take Data. Partition 0. Read: {46, 0} (46-46)
2025-12-12T11:57:08.457337Z :DEBUG: [local] Take Data. Partition 0. Read: {47, 0} (47-47)
2025-12-12T11:57:08.457340Z :DEBUG: [local] Take Data. Partition 0. Read: {48, 0} (48-48)
2025-12-12T11:57:08.457342Z :DEBUG: [local] Take Data. Partition 0. Read: {49, 0} (49-49)
2025-12-12T11:57:08.457344Z :DEBUG: [local] Take Data. Partition 0. Read: {50, 0} (50-50)
2025-12-12T11:57:08.457347Z :DEBUG: [local] Take Data. Partition 0. Read: {51, 0} (51-51)
2025-12-12T11:57:08.457349Z :DEBUG: [local] Take Data. Partition 0. Read: {52, 0} (52-52)
2025-12-12T11:57:08.457351Z :DEBUG: [local] Take Data. Partition 0. Read: {53, 0} (53-53)
2025-12-12T11:57:08.457354Z :DEBUG: [local] Take Data. Partition 0. Read: {54, 0} (54-54)
2025-12-12T11:57:08.457356Z :DEBUG: [local] Take Data. Partition 0. Read: {55, 0} (55-55)
2025-12-12T11:57:08.457361Z :DEBUG: [local] Take Data. Partition 0. Read: {56, 0} (56-56)
2025-12-12T11:57:08.457363Z :DEBUG: [local] Take Data. Partition 0. Read: {57, 0} (57-57)
2025-12-12T11:57:08.457365Z :DEBUG: [local] Take Data. Partition 0. Read: {58, 0} (58-58)
2025-12-12T11:57:08.457368Z :DEBUG: [local] Take Data. Partition 0. Read: {59, 0} (59-59)
2025-12-12T11:57:08.457370Z :DEBUG: [local] Take Data. Partition 0. Read: {60, 0} (60-60)
2025-12-12T11:57:08.457416Z :DEBUG: [local] Take Data. Partition 0. Read: {61, 0} (61-61)
2025-12-12T11:57:08.457427Z :DEBUG: [local] Take Data. Partition 0. Read: {62, 0} (62-62)
2025-12-12T11:57:08.457431Z :DEBUG: [local] Take Data. Partition 0. Read: {63, 0} (63-63)
2025-12-12T11:57:08.457452Z :DEBUG: [local] Take Data. Partition 0. Read: {64, 0} (64-64)
2025-12-12T11:57:08.457455Z :DEBUG: [local] Take Data. Partition 0. Read: {65, 0} (65-65)
2025-12-12T11:57:08.457457Z :DEBUG: [local] Take Data. Partition 0. Read: {66, 0} (66-66)
2025-12-12T11:57:08.457479Z :DEBUG: [local] Take Data. Partition 0. Read: {67, 0} (67-67)
2025-12-12T11:57:08.457482Z :DEBUG: [local] Take Data. Partition 0. Read: {68, 0} (68-68)
2025-12-12T11:57:08.457486Z :DEBUG: [local] Take Data. Partition 0. Read: {69, 0} (69-69)
2025-12-12T11:57:08.457490Z :DEBUG: [local] Take Data. Partition 0. Read: {70, 0} (70-70)
2025-12-12T11:57:08.457494Z :DEBUG: [local] Take Data. Partition 0. Read: {71, 0} (71-71)
2025-12-12T11:57:08.457498Z :DEBUG: [local] Take Data. Partition 0. Read: {72, 0} (72-72)
2025-12-12T11:57:08.457502Z :DEBUG: [local] Take Data. Partition 0. Read: {73, 0} (73-73)
2025-12-12T11:57:08.457505Z :DEBUG: [local] Take Data. Partition 0. Read: {74, 0} (74-74)
2025-12-12T11:57:08.457510Z :DEBUG: [local] Take Data. Partition 0. Read: {75, 0} (75-75)
2025-12-12T11:57:08.457514Z :DEBUG: [local] Take Data. Partition 0. Read: {76, 0} (76-76)
2025-12-12T11:57:08.457518Z :DEBUG: [local] Take Data. Partition 0. Read: {77, 0} (77-77)
2025-12-12T11:57:08.457522Z :DEBUG: [local] Take Data. Partition 0. Read: {78, 0} (78-78)
2025-12-12T11:57:08.457526Z :DEBUG: [local] Take Data. Partition 0. Read: {79, 0} (79-79)
2025-12-12T11:57:08.457530Z :DEBUG: [local] Take Data. Partition 0. Read: {80, 0} (80-80)
2025-12-12T11:57:08.457533Z :DEBUG: [local] Take Data. Partition 0. Read: {81, 0} (81-81)
2025-12-12T11:57:08.457537Z :DEBUG: [local] Take Data. Partition 0. Read: {82, 0} (82-82)
2025-12-12T11:57:08.457542Z :DEBUG: [local] Take Data. Partition 0. Read: {83, 0} (83-83)
2025-12-12T11:57:08.457546Z :DEBUG: [local] Take Data. Partition 0. Read: {84, 0} (84-84)
2025-12-12T11:57:08.457550Z :DEBUG: [local] Take Data. Partition 0. Read: {85, 0} (85-85)
2025-12-12T11:57:08.457554Z :DEBUG: [local] Take Data. Partition 0. Read: {86, 0} (86-86)
2025-12-12T11:57:08.457558Z :DEBUG: [local] Take Data. Partition 0. Read: {87, 0} (87-87)
2025-12-12T11:57:08.457561Z :DEBUG: [local] Take Data. Partition 0. Read: {88, 0} (88-88)
2025-12-12T11:57:08.457566Z :DEBUG: [local] Take Data. Partition 0. Read: {89, 0} (89-89)
2025-12-12T11:57:08.457569Z :DEBUG: [local] Take Data. Partition 0. Read: {90, 0} (90-90)
2025-12-12T11:57:08.457585Z :DEBUG: [local] Take Data. Partition 0. Read: {91, 0} (91-91)
2025-12-12T11:57:08.457587Z :DEBUG: [local] Take Data. Partition 0. Read: {92, 0} (92-92)
2025-12-12T11:57:08.457590Z :DEBUG: [local] Take Data. Partition 0. Read: {93, 0} (93-93)
2025-12-12T11:57:08.457592Z :DEBUG: [local] Take Data. Partition 0. Read: {94, 0} (94-94)
2025-12-12T11:57:08.457595Z :DEBUG: [local] Take Data. Partition 0. Read: {95, 0} (95-95)
2025-12-12T11:57:08.457598Z :DEBUG: [local] Take Data. Partition 0. Read: {96, 0} (96-96)
2025-12-12T11:57:08.457601Z :DEBUG: [local] Take Data. Partition 0. Read: {97, 0} (97-97)
2025-12-12T11:57:08.457605Z :DEBUG: [local] Take Data. Partition 0. Read: {98, 0} (98-98)
2025-12-12T11:57:08.457609Z :DEBUG: [local] Take Data. Partition 0. Read: {99, 0} (99-99)
2025-12-12T11:57:08.457613Z :DEBUG: [local] Take Data. Partition 0. Read: {100, 0} (100-100)
2025-12-12T11:57:08.457626Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] The application data is transferred to the client. Number of messages 101, size 2825 bytes
2025-12-12T11:57:08.457636Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Returning serverBytesSize = 0 to budget
2025-12-12T11:57:08.457887Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Commit offsets [0, 101). Partition stream id: 1
2025-12-12T11:57:08.458117Z :INFO: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] Closing read session. Close timeout: 0.000000s
2025-12-12T11:57:08.458128Z :INFO: [local] Read/commit by partition streams (cluster:topic:partition:stream-id:read-offset:committed-offset): -:sdk_tests/BasicUsage-DirectRead_WriteRead/test-topic:0:1:100:0
2025-12-12T11:57:08.458138Z :INFO: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] Counters: { Errors: 0 CurrentSessionLifetimeMs: 9 BytesRead: 2825 MessagesRead: 101 BytesReadCompressed: 4345 BytesInflightUncompressed: 0 BytesInflightCompressed: 0 BytesInflightTotal: 0 MessagesInflight: 0 }
2025-12-12T11:57:08.458160Z :NOTICE: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Close with zero timeout " }
2025-12-12T11:57:08.458168Z :DEBUG: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] [] Abort session to cluster
2025-12-12T11:57:08.458453Z :DEBUG: [local] 0x00005287FF752310 TDirectReadSessionManager ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 Close
2025-12-12T11:57:08.458531Z :DEBUG: [local] 0x00005287FF752310 TDirectReadSessionManager ServerSessionId=BasicUsage-DirectRead_WriteRead-test-consumer_1_1_12419881851969071189_v1 Close
2025-12-12T11:57:08.458549Z :NOTICE: [local] [local] [97cbe985-116e3cf4-48d3e9df-3b3d7de6] Aborting read session. Description: SessionClosed { Status: ABORTED Issues: "<main>: Error: Aborted " }
