shuwenwei opened a new pull request, #179:
URL: https://github.com/apache/iotdb-client-go/pull/179

   ## Summary
   
   Add standalone Go client support for IoTDB subscription APIs, including 
management sessions, Pull and Push consumers, tree/table records, provider 
discovery and recovery, progress/seeking, processors, examples, and 
server-backed E2E coverage.
   
   ## Public API
   
   - Add the independent `github.com/apache/iotdb-client-go/subscription` 
module with `session`, `consumer`, `payload`, and `processor` packages.
   - Add subscription topic and consumer configuration types, Pull/Push 
consumer interfaces, record and watermark messages, commit/progress APIs, 
provider recovery, and `SubscriptionError` classifications.
   - Add Watermark and ColumnAlign processors with documented ownership and 
lifecycle contracts.
   - Keep native TsFile payload decoding out of scope: TsFile topic management 
and subscription are supported, while file payload access returns 
`ErrUnsupportedTsFile` without acknowledging or retrying the payload.
   
   ## Implementation Highlights
   
   - Decode subscription control and Tablet payloads with typed column storage 
instead of per-cell interface storage.
   - Implement all-provider seek attempts, pending termination handling, 
unsubscribe reconciliation, commit retry and redirect ACK behavior, fencing, 
heartbeat, endpoint discovery, and serial Poll execution matching the Java 
client.
   - Use an expiry heap for automatic commits, in-place ColumnAlign mutation 
for decoded messages, and column-based watermark size accounting.
   - Add standalone tree/table Pull and Push examples and isolate shared 
modules through local module replacements.
   - Add shared E2E configuration for Session and subscription tests. 
Subscription tests are discovered by normal test runs and skip unless 
`IOTDB_SUBSCRIPTION_E2E=1` is set; node addresses and credentials use 
`IOTDB_E2E_*` variables with fallbacks.
   
   ## Validation
   
   - `go test ./client/...`
   - Subscription package tests under `consumer`, `internal/...`, `payload`, 
`processor`, and `session`
   - E2E module compile check
   - Full `TestSubscriptionTable*` suite against a local subscription-enabled 
server
   - Repeated strict snapshot completion tests for automatic and manual Commit 
paths
   - Docker Compose configuration validation
   
   No existing Session API behavior or module paths are removed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to