apache / apache/beam

Error handling in RedisIO writes

Open
#21,353 0 comments 0 reactions 0 assignees View on GitHub
bug io java P2 redis
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

The writes in RedisIO currently don't check the MULTI response for errors, so issues might remain unnoticed. The typical pattern should be something like:
```

Response> resp = pipeline.exec();
pipeline.close(); // does sync internally
resp.get();
// this may throw

```

See discussion here https://github.com/apache/beam/pull/15858#discussion_r765719311

 

 

Imported from Jira [BEAM-13458](https://issues.apache.org/jira/browse/BEAM-13458). Original Jira may contain additional context.
Reported by: mosche.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.