You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy war file inside a web server/container like Jetty or Tomcat
Create a configuration file named application.properties and place it in the resource folder of your container.
Configuration
The application.properties file must contain:
thoth.queue.input : the name of the activeMQ queue where all the collected requests are dumped
thoth.consumers.max , thoth. consumers.concurrent : number of maximum and concurrent JMS consumers that will listend to the queue
thoth.index.url : url of the thoth index
activemq.host , activemq.port : activemq broker url and port
Here's a dummy example
thoth.queue.input=thoth-demo
thoth.consumers.max=5
thoth.consumers.concurrent=5
thoth.index.url=http://localhost:8983/solr/
# Settings for activeMQ broker
activemq.host=localhost
activemq.port=61616
# Enable/Disable shrinking feature
thoth.shrinker.enabled=true
# Schedule when do you want the shrinker feature to be triggered
thoth.shrinker.schedule=0 * * * * ?
# 'how long back' you want to shrink docs in seconds
thoth.shrinker.period=900
thoth.shrinker.threadPoolSize = 1