Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

Vijay avatar image
Vijay asked Erick Ramirez answered

How do I unload data using DSBulk from Java application?

We are planning to create a java based application to unload data from Keyspace A and load data into Keyspace B. We are following this below approach, but unable to find any documentation for unloading data in Java. Any documents available for reference?

dsbulk
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

The DataStax Bulk Loader (DSBulk) is a stand-alone utility for loading/unloading data from a Cassandra cluster. It is not designed to be embedded in a Java application.

Since it is open-source, you are welcome to reuse the DSBulk code to build your own application but you'll have to do so on your own. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.