-
Notifications
You must be signed in to change notification settings - Fork 14
Setup
pmhatre edited this page Nov 10, 2014
·
1 revision
Wiki ▸ Installation & Setup
- An activeMQ broker running on a host
- Clone the project
- Use maven to generate artifact and war
mvn clean install
- 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.
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