conductor icon indicating copy to clipboard operation
conductor copied to clipboard

Extending conductor with cassandra.

Open codediffusion opened this issue 9 years ago • 4 comments

I am trying to extend conductor with a cassandra backend to persist workflows and tasks. I found the "Extending Conductor" section that mentions about implements the Dao's. However, when I start the conductor server I'm not sure what the db property in conductor properties should be.

I tried to set value as cassandra but it seems to accept only memeory, redis and dynomite and I get this error.

$ java -jar -DloadSample=true conductor-server-1.7.4-all.jar gts/conductor.properties Using gts/conductor.properties 0 [main] ERROR com.netflix.conductor.server.ConductorServer - Invalid db name: cassandra, supported values are: redis, dynomite, memory

I found that the ConductorServer has an enum with these three values and it throws the error for any value of DB.

Is there more documentation on how this can be achieved?

codediffusion avatar Jun 13 '17 11:06 codediffusion

@rpdeshmukh You will have to add new persistence classes to store the data into Cassandra. After you are done with it, you can wire up the guice modules to load cassandra DAOs as opposed to Redis/Dynomite. This will prob. need some code changes - minor though and one more condition in the property loader that validates the db name.

Hope this helps.

v1r3n avatar Jun 16 '17 16:06 v1r3n

@codediffusion Were you able to achieve the integration?

manudilipshah avatar May 27 '18 03:05 manudilipshah

@manudilipshah .. no I did not carry on with it further. I was in the process of evaluating conductor. Unfortunately did not carry on further with the integration. I would let you know if I get back to it and would also be interested if you manage to get it working.

codediffusion avatar Jun 10 '18 15:06 codediffusion

@codediffusion I will let you know if I get it working

manudilipshah avatar Jun 10 '18 16:06 manudilipshah