hi all,
I am using Aerospike. I have setup Aerospike server by using Docker images. I build a .NET core C# solution and import Aerospike Client to the solution.
However I got the problem with the following code
AerospikeClient client = new AerospikeClient(“localhost”, 3000);
WritePolicy policy = new WritePolicy();
policy.totalTimeout = 50;
var key = new Key(“test”, “mytest”, “mykey”);
Bin bin = new Bin(“my”, 25555);
client.Put(policy, key, bin);
It throws the exception which si “bin name length greater than 14 characters or maximum bins exceeded”. If I changed the bin name to “mybin” then it works.
I tried to find the problem and fix it but I have no idea why.
This is the first time I use Aerospike so I might make some mistake.
Please could you guys help me?
Cheers.
Thanh