apache / apache/beam

Enable kinesis read on localstack in python cross-language it test

Open
#20,416 0 comments 0 reactions 0 assignees View on GitHub
aws cross-language failing test io P3 python tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Enable kinesis read when running with localstack.

The reason why it's disabled is that kinesis java sdk requires system properties `{color:#6a8759}com.amazonaws.sdk.disableCertChecking{color}`and `{color:#6a8759}com.amazonaws.sdk.disableCbor{color}` to be set like in Java's KinesisIOIT.

But in cross-language the place of execution is java fn api container, which cannot easily have these properties set. One poor solution would be to create a separate container for the testing purpose. However, maybe there is another, smarter way.

It's not enough to run expansion service or flink server with -D flags.

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

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.