service-discovery-jms

Service location and discovery.

License

License

GroupId

GroupId

com.nesscomputing.service.discovery
ArtifactId

ArtifactId

discovery-jms
Last Version

Last Version

1.6.3
Release Date

Release Date

Type

Type

jar
Description

Description

service-discovery-jms
Service location and discovery.
Project Organization

Project Organization

Ness Computing, Inc.

Download discovery-jms

How to add to project

<!-- https://jarcasting.com/artifacts/com.nesscomputing.service.discovery/discovery-jms/ -->
<dependency>
    <groupId>com.nesscomputing.service.discovery</groupId>
    <artifactId>discovery-jms</artifactId>
    <version>1.6.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.nesscomputing.service.discovery/discovery-jms/
implementation 'com.nesscomputing.service.discovery:discovery-jms:1.6.3'
// https://jarcasting.com/artifacts/com.nesscomputing.service.discovery/discovery-jms/
implementation ("com.nesscomputing.service.discovery:discovery-jms:1.6.3")
'com.nesscomputing.service.discovery:discovery-jms:jar:1.6.3'
<dependency org="com.nesscomputing.service.discovery" name="discovery-jms" rev="1.6.3">
  <artifact name="discovery-jms" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.nesscomputing.service.discovery', module='discovery-jms', version='1.6.3')
)
libraryDependencies += "com.nesscomputing.service.discovery" % "discovery-jms" % "1.6.3"
[com.nesscomputing.service.discovery/discovery-jms "1.6.3"]

Dependencies

compile (14)

Group / Artifact Type Version
com.nesscomputing.service.discovery : discovery-client jar 1.6.3
com.nesscomputing.service.discovery : discovery-testing jar 1.6.3
com.nesscomputing.components : ness-logging jar 1.1.1
com.nesscomputing.components : ness-config jar 2.3.1
com.nesscomputing.components : ness-jms jar 1.3.0
com.google.guava : guava jar 15.0
org.apache.activemq : activemq-core jar 5.5.1
org.apache.geronimo.specs : geronimo-jms_1.1_spec jar 1.1.1
org.skife.config : config-magic jar 0.17
org.apache.commons : commons-lang3 jar 3.1
com.google.inject : guice jar 3.0
com.google.inject.extensions : guice-multibindings jar 3.0
cglib : cglib-nodep jar 2.2.2
com.nesscomputing.testing : findbugs-annotations jar 2.0.0

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
com.nesscomputing.testing : ness-log4j-config jar 1.0.2

Project Modules

There are no modules declared in this project.

Ness Computing Discovery Service

This is the service discovery system for the ness computing platform. It generally is deployed as a Galaxy tarball and provides service discovery for the rest of the platform.

Configuration

In galaxy, a three level (environment, deployment, service) configuration is used. The environment configuration is used to locate all the discovery servers and configure platform wide defaults.

environment configuration for development

For development, a single discovery server can be used.

ness.zookeeper.clientPort=21052
ness.zookeeper.clientPortAddress=127.0.0.1
#
ness.zookeeper.server.1=127.0.0.1:21050:21051
#
# Discovery Service
#
ness.discovery.enabled=true
ness.discovery.root=/ness/srvc/development
ness.discovery.scan-interval=120s
ness.discovery.tick-interval=100ms
ness.discovery.zookeeper-timeout=500ms
ness.discovery.penalty-time=600s

environment configuration for production

For a real environment, at least three servers should be present.

# ########################################################################
#
# Discovery configuration. Do not modify.
#
ness.zookeeper.clientPort=18700
#
ness.zookeeper.server.1=10.1.1.1:28990:28991
ness.zookeeper.server.2=10.2.2.2:28990:28991
ness.zookeeper.server.3=10.3.3.3:28990:28991
#
# Discovery Service
#
ness.discovery.enabled=true
ness.discovery.root=/ness/srvc/production
ness.discovery.scan-interval=120s
ness.discovery.tick-interval=100ms
ness.discovery.zookeeper-timeout=500ms
ness.discovery.penalty-time=600s
ness.discovery.http-port=8090

service specific (discovery service) configuration

This is the service specific configuration for a discovery server.

ness.zookeeper.dataDir=/home/henning/galaxy/deploy/persist/#{env.agent_group}/#{env.agent_id}/discovery
ness.zookeeper.tickTime=15000
ness.zookeeper.initLimit=5
ness.zookeeper.syncLimit=2
ness.zookeeper.maxClientCnxns=100
#
# Quartz Configuration
org.quartz.scheduler.instanceName = DiscoveryServiceScheduler
org.quartz.threadPool.threadCount = 5
#
# enable cleanup job
ness.job.zookeeper-cleanup.enabled=true

Copyright (C) 2012 Ness Computing, Inc.

com.nesscomputing.service.discovery

Ness Computing

Versions

Version
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1