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

[Bug]: Cannot read from ssl-enabled cassandra cluster #30266

Open
1 of 16 tasks
hassanhamod opened this issue Feb 8, 2024 · 0 comments
Open
1 of 16 tasks

[Bug]: Cannot read from ssl-enabled cassandra cluster #30266

hassanhamod opened this issue Feb 8, 2024 · 0 comments

Comments

@hassanhamod
Copy link

What happened?

Using Beam Version 2.53
Cassandra version is currently 3.11.5
Using cassandra-driver-core & cassandra-driver-mapping 3.10.2 (also tested on 3.11.5 but no luck)

CassandraIO.Read.withSsl expects an object that implements RemoteEndpointAwareSSLOptions.

Following the datastax documentation... provide the following parameter for .withSsl: RemoteEndpointAwareJdkSSLOptions.builder().build()

And the following runtime errors will appear when you execute the pipeline:

Forbidden IOException when writing to OutputStream
Caused by: java.io.NotSerializableException: com.datastax.driver.core.RemoteEndpointAwareJdkSSLOptions

Does not matter if the datastax driver config is set programmatically or property-based (following datastax documentation) - the same errors will appear once the pipeline is run.

Issue Priority

Priority: 1 (data loss / total loss of function)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants