Skip to content

Commit

Permalink
Release 1.6.1 (#43)
Browse files Browse the repository at this point in the history
* Bug/#17959 add memcached hosts to druid common properties (#40)
* Release 1.6.1

---------

Co-authored-by: José Navarro en redBorder <163861617+jnavarrorb@users.noreply.github.com>
  • Loading branch information
nilsver and jnavarrorb authored Aug 7, 2024
1 parent 615df1f commit 17241b1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-druid CHANGELOG
===============

## 1.6.1

- José Navarro en redBorder
- [97eaec6] add memcached hosts to druid common properties

## 1.6.0

- Miguel Negrón
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
maintainer_email 'git@redborder.com'
license 'AGPL-3.0'
description 'Installs/Configures druid'
version '1.6.0'
version '1.6.1'
2 changes: 1 addition & 1 deletion resources/resources/broker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
attribute :port, kind_of: Integer, default: 8080
attribute :parent_log_dir, kind_of: String, default: '/var/log/druid'
attribute :suffix_log_dir, kind_of: String, default: 'broker'
attribute :memcached_hosts, kind_of: String
attribute :memcached_hosts, kind_of: Array, default: ['memcached.service:11211']
attribute :processing_threads, kind_of: Integer
attribute :groupby_max_intermediate_rows, kind_of: Integer, default: 50000
attribute :groupby_max_results, kind_of: Integer, default: 500000
Expand Down
2 changes: 1 addition & 1 deletion resources/resources/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
attribute :group, kind_of: String, default: 'druid'
attribute :parent_log_dir, kind_of: String, default: '/var/log/druid'
attribute :zookeeper_hosts, kind_of: String, default: 'localhost:2181'
attribute :memcached_hosts, kind_of: String
attribute :memcached_hosts, kind_of: Array, default: ['memcached.service:11211']
attribute :psql_uri, kind_of: String
attribute :psql_user, kind_of: String
attribute :psql_password, kind_of: String
Expand Down
2 changes: 1 addition & 1 deletion resources/templates/default/common.properties.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ druid.metadata.storage.type=derby
# Caching
<% if @memcached_hosts %>
druid.cache.type=memcached
druid.cache.hosts=<%= @memcached_hosts %>
druid.cache.hosts=<%= @memcached_hosts.join(",") %>
druid.cache.expiration=86400
druid.cache.memcachedPrefix=druid
<% else %>
Expand Down

0 comments on commit 17241b1

Please sign in to comment.