| Modifier and Type | Field and Description |
|---|---|
static String |
EUREKA_ONE_SYSTEM_PREFIX
Configuration System Environment Prefix: hazelcast.eurekaone.
|
static com.hazelcast.config.properties.PropertyDefinition |
NAMESPACE
Configuration key: namespace
|
static com.hazelcast.config.properties.PropertyDefinition |
SELF_REGISTRATION
Configuration key: self-registration
|
static com.hazelcast.config.properties.PropertyDefinition |
SKIP_EUREKA_REGISTRATION_VERIFICATION
Configuration key: skip-eureka-registration-verification
|
static com.hazelcast.config.properties.PropertyDefinition |
USE_CLASSPATH_EUREKA_CLIENT_PROPS
Configuration key: use-classpath-eureka-client-props
|
static com.hazelcast.config.properties.PropertyDefinition |
USE_METADATA_FOR_HOST_AND_PORT
Configuration key: use-metadata-for-host-and-port
|
public static final String EUREKA_ONE_SYSTEM_PREFIX
Configuration System Environment Prefix: hazelcast.eurekaone.
Defines the prefix for system environment variables and JVM command line parameters.SELF_REGISTRATION will be:
-Dhazelcast.eurekaone.self-registration=value
Example: NAMESPACE will be:
-Dhazelcast.eurekaone.namespace=value
public static final com.hazelcast.config.properties.PropertyDefinition USE_CLASSPATH_EUREKA_CLIENT_PROPS
Configuration key: use-classpath-eureka-client-props
Defines if the Discovery SPI plugin will use the standard Eureka eureka.client.props
If true, the classpath-based Eureka properties file will be used, otherwise the plugin will use properties defined in the discovery-strategy config itself.
The default value is: true
public static final com.hazelcast.config.properties.PropertyDefinition SELF_REGISTRATION
Configuration key: self-registration
Defines if the Discovery SPI plugin will register itself with the Eureka 1 service discovery.
The default value is: true
public static final com.hazelcast.config.properties.PropertyDefinition USE_METADATA_FOR_HOST_AND_PORT
Configuration key: use-metadata-for-host-and-port
Defines if the Discovery SPI plugin will use Eureka metadata map to store host and port of Hazelcast instance, and when it looks for other nodes it will use the metadata as well.
The default value is: false
public static final com.hazelcast.config.properties.PropertyDefinition SKIP_EUREKA_REGISTRATION_VERIFICATION
Configuration key: skip-eureka-registration-verification
When first node starts, it takes some time to do self-registration with Eureka Server. Until Eureka data is updated it make no sense to verify registration. See https://github.com/Netflix/eureka/wiki/Understanding-eureka-client-server-communication#time-lag This option will speed up startup when starting first cluster node.
The default value is: false
public static final com.hazelcast.config.properties.PropertyDefinition NAMESPACE
Configuration key: namespace
Definition for providing different namespaces in order to not collide with other service registry clients in eureka-client.properties file.
The default value is: hazelcast
Copyright © 2019. All Rights Reserved.