Skip to content

Commit

Permalink
No need for names if we are using the generated defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Apr 28, 2020
1 parent 6da6de7 commit 9805549
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ public class KafkaStreamsRuntimeConfig {
* Red Hat / Apicurio - apicurio.registry.url
* Confluent - schema.registry.url
*/
@ConfigItem(name = "schema-registry-key", defaultValue = "schema.registry.url")
@ConfigItem(defaultValue = "schema.registry.url")
public String schemaRegistryKey;

/**
* The schema registry url.
*/
@ConfigItem(name = "schema-registry-url")
@ConfigItem
public Optional<String> schemaRegistryUrl;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,80 +12,80 @@ public class SaslConfig {
/**
* JAAS login context parameters for SASL connections in the format used by JAAS configuration files
*/
@ConfigItem(name = "jaas-config")
@ConfigItem
public Optional<String> jaasConfig;

/**
* The fully qualified name of a SASL client callback handler class
*/
@ConfigItem(name = "client-callback-handler-class")
@ConfigItem
public Optional<String> clientCallbackHandlerClass;

/**
* The fully qualified name of a SASL login callback handler class
*/
@ConfigItem(name = "login-callback-handler-class")
@ConfigItem
public Optional<String> loginCallbackHandlerClass;

/**
* The fully qualified name of a class that implements the Login interface
*/
@ConfigItem(name = "login-class")
@ConfigItem
public Optional<String> loginClass;

/**
* The Kerberos principal name that Kafka runs as
*/
@ConfigItem(name = "kerberos-service-name")
@ConfigItem
public Optional<String> kerberosServiceName;

/**
* Kerberos kinit command path
*/
@ConfigItem(name = "kerberos-kinit-cmd")
@ConfigItem
public Optional<String> kerberosKinitCmd;

/**
* Login thread will sleep until the specified window factor of time from last refresh
*/
@ConfigItem(name = "kerberos-ticket-renew-window-factor")
@ConfigItem
public Optional<Double> kerberosTicketRenewWindowFactor;

/**
* Percentage of random jitter added to the renewal time
*/
@ConfigItem(name = "kerberos-ticket-renew-jitter")
@ConfigItem
public Optional<Double> kerberosTicketRenewJitter;

/**
* Percentage of random jitter added to the renewal time
*/
@ConfigItem(name = "kerberos-min-time-before-relogin")
@ConfigItem
public Optional<Long> kerberosMinTimeBeforeRelogin;

/**
* Login refresh thread will sleep until the specified window factor relative to the
* credential's lifetime has been reached-
*/
@ConfigItem(name = "login-refresh-window-factor")
@ConfigItem
public Optional<Double> loginRefreshWindowFactor;

/**
* The maximum amount of random jitter relative to the credential's lifetime
*/
@ConfigItem(name = "login-refresh-window-jitter")
@ConfigItem
public Optional<Double> loginRefreshWindowJitter;

/**
* The desired minimum duration for the login refresh thread to wait before refreshing a credential
*/
@ConfigItem(name = "login-refresh-min-period")
@ConfigItem
public Optional<Duration> loginRefreshMinPeriod;

/**
* The amount of buffer duration before credential expiration to maintain when refreshing a credential
*/
@ConfigItem(name = "login-refresh-buffer")
@ConfigItem
public Optional<Duration> loginRefreshBuffer;

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ public class SslConfig {
/**
* A list of cipher suites
*/
@ConfigItem(name = "cipher-suites")
@ConfigItem
public Optional<String> cipherSuites;

/**
* The list of protocols enabled for SSL connections
*/
@ConfigItem(name = "enabled-protocols")
@ConfigItem
public Optional<String> enabledProtocols;

/**
Expand All @@ -50,24 +50,24 @@ public class SslConfig {
/**
* The algorithm used by key manager factory for SSL connections
*/
@ConfigItem(name = "keymanager-algorithm")
@ConfigItem
public Optional<String> keymanagerAlgorithm;

/**
* The algorithm used by trust manager factory for SSL connections
*/
@ConfigItem(name = "trustmanager-algorithm")
@ConfigItem
public Optional<String> trustmanagerAlgorithm;

/**
* The endpoint identification algorithm to validate server hostname using server certificate
*/
@ConfigItem(name = "endpoint-identification-algorithm")
@ConfigItem
public Optional<String> endpointIdentificationAlgorithm;

/**
* The SecureRandom PRNG implementation to use for SSL cryptography operations
*/
@ConfigItem(name = "secure-random-implementation")
@ConfigItem
public Optional<String> secureRandomImplementation;
}

0 comments on commit 9805549

Please sign in to comment.