Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8333871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:09:55+00:00 2026-06-09T03:09:55+00:00

Riak supports auto generated keys when storing an object: http://wiki.basho.com/Basic-Riak-API-Operations.html : Store a new

  • 0

Riak supports auto generated keys when storing an object:

http://wiki.basho.com/Basic-Riak-API-Operations.html:

Store a new object and assign random key #

If your application would rather leave key-generation up to Riak, issue a POST request to
the bucket URL instead of a PUT to a bucket/key pair: POST
/riak/bucket If you don’t pass Riak a “key” name after the bucket, it
will know to create one for you.

is it possible to do the same when using the java client?
it seems that key must be provided when storing an object.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:09:56+00:00Added an answer on June 9, 2026 at 3:09 am

    Edited to update: This is now available in the Java client. It was added in the 1.0.7 client release. See: https://github.com/basho/riak-java-client/pull/168


    Unfortunately … right now the Java client doesn’t support this.

    Someone has opened an issue for this: https://github.com/basho/riak-java-client/issues/141

    I agree that it needs to be added. We’ve got a number of things we’re working on at the moment for the Riak 1.2 release that are slightly higher priority, but I hope to work on this and get it added in the near future.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am in trouble finding API for the local Erlang client for Riak. Here
I'm storing json docs in riak search, for example: { boolean: true, number: 1.234,
I've been using Basho Riak for a few weeks now. I've only had to
Watching the Basho Vimeo talk about Voxer, Matt told that Read Operations are really
I installed Riak on my Mac via homebrew, and would like to set up
I recently started using Riak with PHP. How exactly do I store JSON data?!
I have the 4 node riak setup running on my os x machine. I
I would like to use a pre-commit hook in riak to validate the json
I am trying to get the 4 node riak setup working on my os
I am looking to setup Amazon EC/2 nodes on rails with Riak. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.