[ https://issues.apache.org/jira/browse/BEAM-12164?focusedWorklogId=750738&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-750738 ]
ASF GitHub Bot logged work on BEAM-12164: ----------------------------------------- Author: ASF GitHub Bot Created on: 31/Mar/22 04:40 Start Date: 31/Mar/22 04:40 Worklog Time Spent: 10m Work Description: hengfengli commented on a change in pull request #17200: URL: https://github.com/apache/beam/pull/17200#discussion_r839161849 ########## File path: sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/changestreams/action/QueryChangeStreamAction.java ########## @@ -187,6 +193,7 @@ public ProcessContinuation run( changeStreamRecordMapper.toChangeStreamRecords( updatedPartition, resultSet.getCurrentRowAsStruct(), resultSet.getMetadata()); + double recordsBytes = 0D; Review comment: I will update it to: ``` throughputEstimator.update(record.getRecordTimestamp(), record.toString().getBytes(StandardCharsets.UTF_8).length); ``` -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 750738) Time Spent: 64h 50m (was: 64h 40m) > SpannerIO Change Stream Connector > --------------------------------- > > Key: BEAM-12164 > URL: https://issues.apache.org/jira/browse/BEAM-12164 > Project: Beam > Issue Type: New Feature > Components: sdk-java-core > Reporter: Thiago Nunes > Assignee: Thiago Nunes > Priority: P2 > Fix For: 2.37.0 > > Time Spent: 64h 50m > Remaining Estimate: 0h > > We would like to augment the existing Google Cloud SpannerIO connector > ([https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerIO.java)] > with the support for Spanner Change Streams (CDC). CDC support is just being > implemented in Spanner and it will be exposed through a gRPC API. We will use > such API to create a new SpannerIO.readChangeStream(...) implementation. -- This message was sent by Atlassian Jira (v8.20.1#820001)