fn project Message Queues 配置

 

Message Queues

A message queue is used to coordinate asynchronous function calls that run through Fn.

We currently support the following message queues and they are passed in via the MQ_URL environment variable. For example:

docker run -e "MQ_URL=redis://localhost:6379/" ...

   Bolt (default)

URL: bolt:///fn/data/functions-mq.db

See Bolt in databases above. The Bolt database is locked at the file level, so the file cannot be the same as the one used for the Bolt Datastore.

   Redis

See Redis in databases above.

 

posted on 2017-10-04 22:56  荣锋亮  阅读(258)  评论(0编辑  收藏  举报

导航