Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle error from Apache Beam BigtableIO #6

Open
quandoanh opened this issue Jan 25, 2024 · 0 comments
Open

How to handle error from Apache Beam BigtableIO #6

quandoanh opened this issue Jan 25, 2024 · 0 comments

Comments

@quandoanh
Copy link

Hi there,
I found this repo to be very good, useful, and I would like to ask how I can handle writing errors from Apache Beam BigtableIO.
My dataflow is reading from Pubsub subscription, does some data cleansing/processing, then use BigtableIO to write to Bigtable table.
The writing code is:

translatedMessages.apply(
  "Writing to BT",
  org.apache.beam.sdk.io.gcp.bigtable.BigtableIO.write().withProjectId("my-project").withInstanceId("my-instance").withTableId("my-table")
  as PTransform<in PCollection<KV<ByteString, java.lang.Iterable<Mutation>>>, PDone>
)

How can I handle the error from this writing step?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant