service-discovery-client

Service location and discovery.

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

com.nesscomputing.service.discovery
Идентификатор

Идентификатор

discovery-client
Последняя версия

Последняя версия

1.6.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

service-discovery-client
Service location and discovery.
Организация-разработчик

Организация-разработчик

Ness Computing, Inc.

Скачать discovery-client

Как подключить последнюю версию

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

Зависимости

compile (17)

Идентификатор библиотеки Тип Версия
com.nesscomputing.components : ness-logging jar 1.1.1
com.nesscomputing.components : ness-lifecycle jar 1.3.0
com.nesscomputing.components : ness-config jar 2.3.1
com.nesscomputing.components : ness-httpclient jar 2.0.2
com.nesscomputing.components : ness-jackson jar 2.3.3
org.apache.zookeeper : zookeeper jar 3.3.5
org.skife.config : config-magic jar 0.17
org.apache.commons : commons-lang3 jar 3.1
commons-collections : commons-collections jar 3.2.1
commons-configuration : commons-configuration jar 1.10
com.google.inject : guice jar 3.0
com.google.inject.extensions : guice-multibindings jar 3.0
com.google.guava : guava jar 15.0
com.fasterxml.jackson.core : jackson-annotations jar 2.2.3
com.fasterxml.jackson.core : jackson-databind jar 2.2.3
com.google.code.findbugs : jsr305 jar 2.0.2
com.nesscomputing.testing : findbugs-annotations jar 2.0.0

provided (1)

Идентификатор библиотеки Тип Версия
javax.servlet : javax.servlet-api jar 3.0.1

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
com.nesscomputing.testing : ness-log4j-config jar 1.0.2

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1
1.3.0
1.2.0
1.1.0
1.0.4
1.0.2
1.0.1
1.0.0