DolphinDB: Single node, configuration stream data persistence is invalid

Viewed 24

I added the following configuration items to dolphindb.cfg,

maxPubConnections=20
persisitenceDir="C:\DevTools\DolphinDB\Data\Streaming"
persistenceWorkerNum=0
maxPersistenceQueueDepth=1000
maxMsgNumPerBlock=10
maxPubQueueDepthPerSite=10

But when I execute the following command:

enableTablePersistence(ticks,true, true, 1000000)

the error shows:

To enable table persistence, turn on the persistence manager by specifying the configuration parameter persistenceDir for the publisher node.

Can I please ask what went wrong? Thank you.

1 Answers

use / instead of \ and remove the "" will solve the roblem. The correct configuration is as follows:

persisitenceDir=C:/DevTools/DolphinDB/Data/Streaming
Related