Commit Graph

1403 Commits

Author SHA1 Message Date
tidwall 97c1ec5c5d Fix OUTPUT client command requiring authentication
This commit fixes an issue where the OUTPUT command requires
authentication when a server password has been set with
CONFIG SET requirepass. This was causing problems with clients
that use json responses, like the tile38-cli.

Fixes #564
2021-07-08 06:33:38 -07:00
tidwall e5c18bb84c 1.20.0 2021-07-08 06:33:38 -07:00
Josh e5f3224e08
Merge pull request #614 from tidwall/kafka-memory-leak
Kafka memory leak
2021-07-08 06:15:16 -07:00
Josh fa2c5da6d2
Merge pull request #615 from mathieux51/add-sasl-support
Add sasl_scram to Kafka provider.
2021-07-08 06:14:46 -07:00
Benjamin Ramser c47097acab Add option to select sha function 2021-07-08 12:52:16 +02:00
Benjamin Ramser ab89a79fae Leave ClientID default untouched 2021-07-08 12:26:58 +02:00
Benjamin Ramser aed3b1a95f Add endpoint option for sasl 2021-07-08 12:05:16 +02:00
Mathieu 7dddca165c Add sasl 2021-07-08 10:20:45 +02:00
tidwall ef5a428591 Fix Memory Leak in Kafka Producer
This commit addresses an issue where the sarama kafka library
leaks memory when a connection closes unless the metrics
configuration that was passed to new connection is also closed.

Fixes #613
2021-06-30 14:18:44 -07:00
tidwall df8d3d7b12 Close follower files before finishing aofshrink
fixes #449
2021-06-13 07:53:27 -07:00
tidwall 4490eba0fc 1.24.3 2021-06-09 10:59:07 -07:00
tidwall af43d5a7c7 Fix invalid healthz output 2021-06-09 10:55:07 -07:00
tidwall aaf306a54b 1.24.2 2021-06-07 10:46:41 -07:00
tidwall b6106338d9 Update Go version to 1.16 2021-06-07 10:42:51 -07:00
tidwall 179b2dfb7d 1.24.1 2021-06-07 10:33:10 -07:00
Josh Baker 9ee1d4a6e1
Merge pull request #609 from tidwall/healthz
Added HEALTHZ command
2021-06-07 07:39:01 -07:00
tidwall 27335c37f1 Always OK for leader 2021-05-25 16:42:26 -07:00
tidwall 30c3e81e0d Added HEALTHZ command
Returns 'ok' if the server is the leader or a follower with
a 'caught up' log.

This is mainly for HTTP connections that are using an
orchestration environment like kubernetes, but will work as a
general RESP command.

For HTTP a '200 OK' for 'caught up' and
'500 Internal Server Error' otherwise.

See #608
2021-05-25 16:36:49 -07:00
tidwall 25ba82f41b 1.24.0 2021-05-19 17:11:57 -07:00
Josh Baker 559081e141
Merge pull request #604 from oliver006/oh_prometheus_metrics
Add prometheus metrics
2021-05-14 14:19:44 -07:00
Oliver 70f3188a91 add quick blurb to README 2021-05-13 21:39:26 -04:00
Oliver 56a0ad70c6 fix tests 2021-05-13 21:14:06 -04:00
Oliver de055384f9 add tests 2021-05-13 21:14:06 -04:00
Oliver 6b0282d960 add more metrics, add metrics index page 2021-05-13 21:14:05 -04:00
Oliver 7ec4d58392 cleanup / fix tests 2021-05-13 21:14:05 -04:00
Oliver c3d7b92026 don't rely on stats code for new metrics if we can avoid it 2021-05-13 21:14:05 -04:00
Oliver 30f7226705 add prometheus metrics endpoint 2021-05-13 21:14:04 -04:00
Oliver c78415e26e go fmt 2021-05-13 21:12:49 -04:00
Oliver 13ede90b02 vendor dir 2021-05-13 21:12:49 -04:00
tidwall 476cc499a3 Merge branch 'cep-ter-master't push origin master 2021-05-13 16:32:15 -07:00
Jan Pacák 71fa16a19e amqp: removal of queue and binding creation 2021-05-13 00:44:27 +02:00
Sepehr Rafiee 72a9db084f add deprecation warning for depricated threads flag 2021-05-10 22:17:56 +04:30
Sepehr Rafiee 27cdf6a1a0 remove deprecated threads flag 2021-05-09 07:53:03 +04:30
tidwall b467c6f1cb Change 255 to 256 2021-04-28 05:10:18 -07:00
tidwall 47a4e16c0b Add comment 2021-04-28 05:09:48 -07:00
tidwall 6bdc77d59d Update btree 2021-04-26 10:50:09 -07:00
Josh Baker 296bf3bf02
Delete file 2021-04-21 09:55:49 -07:00
Josh Baker 3756d9da0d
Update README.md 2021-04-10 18:09:21 -07:00
Josh Baker d9c9de654f
Update README.md 2021-04-10 17:43:57 -07:00
Josh Baker 8ae97400e6
Update README.md 2021-04-10 17:42:27 -07:00
tidwall 315c0699b4 Update the client libraries 2021-04-10 17:38:38 -07:00
tidwall 6de3150a23 Merge branch 'mitghi-patch-2' 2021-04-10 17:37:17 -07:00
tidwall 90f6ca5624 Merge branch 'patch-2' of https://github.com/mitghi/tile38 into mitghi-patch-2 2021-04-10 17:04:12 -07:00
tidwall f5c9bb0c25 1.23.0 2021-04-01 15:48:14 -07:00
tidwall d37ce505f5 Allow for all command types for roaming event
Prior to this commit roaming geofences only registered changes to
the SET command. Now it will work for SET/DEL/FSET, just like
non-roaming geofences.

To opt out of these events, explicitly choose which event you
would like to register when you create the geofences.

For example:

  NEARBY fleet FENCE COMMANDS set,del ROAM fleet * 5000

Will only fire off events from SET and DEL command.

Closes #597
2021-04-01 14:59:12 -07:00
tidwall 5a1275bac2 Update BuntDB 2021-04-01 12:30:59 -07:00
tidwall 5e440b621b Remove deprecated function
Go recommends not calling BuildNameToCertificate and to allow
for the names to be selected automatically.
2021-03-31 08:15:52 -07:00
tidwall 6b08f7fa9e Code cleanup
- Removed unused functions and variables
- Wrapped client formatted errors
- Updated deprecated packages
- Changed suggested code patterns
2021-03-31 08:13:44 -07:00
tidwall e1d9756c6d Merge branch 'fix/distance' of https://github.com/iwpnd/tile38 into iwpnd-fix/distance 2021-03-31 06:23:52 -07:00
tidwall 87a3ed5f0a Fix invalid queue.db error 2021-03-30 15:38:42 -07:00