node-consul icon indicating copy to clipboard operation
node-consul copied to clipboard

Consul client

Results 11 node-consul issues
Sort by recently updated
recently updated
newest added

My code: ```javascript import Consul from 'consul'; const consul = new Consul(); await consul.kv.get('hello'); ``` Library version: **"consul": "^0.40.0"** Full error: ``` [Nest] 206220 - 06/08/2022, 10:15:51 AM ERROR [ExceptionsHandler]...

I haven't found it. I'd simply would like to check, using this library, if consul daemon is running, or do something else instead if it's not.

The consul docs suggest that the most recent ModifyIndex for a group of keys is returned as a header in the repsponse. Is there a way to get access to...

https://www.npmjs.com/package/agentkeepalive provides several features which https://nodejs.org/api/http.html#new-agentoptions still doesn't have. Creating this with `timeout` and `freeSocketTimeout` could help prevent leaks in certain networking edge cases (haven't confirmed this) > What's different...

Hello! Looks like no type definitions for transactions.. Am I wrong?

consul: v0.37.0 node: v13.3.0 Consider this code: ``` setInterval(() => { console.log('alive'); }, 1000); try { const consul = require('consul')({ promisify: false }); consul.health.service({ service: 'some-service' }, /*callback not supplied*/);...

It seems that this is quite stable. As such, it would be really nice with a proper 1.0.0 release, so for future releases, it will be possible to discern from...

We're [migrating our Consul tokens](https://www.consul.io/docs/acl/acl-migrate-tokens.html) to use the new ACL tokens/policies. Are there any plans to upgrade this tool to use those new ACL system features? Something like `consul.acl.policy.create/update`, and...

Function query.create not works in case use ACL. For example: const consul = require('consul')({ "host":"127.0.0.1", "port":8085, "sequre":false, "defaults":{ "token":"vagrant" } }); consul.query.create({ name: "rabbitmqQuery", service: { service: "rabbitmq", onlypassing: true...