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]));