Key returned null when batch values were read from aerospike using aeromppaer

I’m getting data for all the bins except the key that returns null when reading the data from the database.

    BatchPolicy batchPolicy = new BatchPolicy();
    batchPolicy.sendKey = true;
    LOG.info("Read Records from Aerospike database using the AeroMapper");
    User[] userRecordsArray = aeroMapper.read(User.class, keys.toArray(new String[0]));

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.