Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2021.1

...

system.properties.classpath=<path to jar>/com.parasoft.virtualize.listener.kafkakafka-listener-1.0.jar

Usage

After installation, the Kafka Listener option will appear in the Virtual Asset Deployment Settings. The Kafka implementation can be used for all responders except SQL Responders.

...

Scroll Table Layout
widths30%,70%

BrokersSpecify a comma-separated list of servers where Kafka is running, including the ports.
Security Protocol

Specifies the security protocol. You can specify following values: 

  • PLAINTEXT - Specifies an unauthenticated, non-encrypted channel.
  • SSL - Specifies for an SSL channel. 
  • SASL_PLAINTEXT - Specifies an SASL-authenticated, non-encrypted channel. This option requires additional configuration (see SASL_PLAINTEXT and SASL_SSL).
  • SASL_SSL - Specifies an SASL-authenticated, SSL
channelSSL - Specifies an SSL channel

The Transport Layer Security (TLS) settings will be applied when this Security Protocol is set to either SSL or SASL_SSL.

SASL_PLAINTEXT and SASL_SSL

You cannot fully configure the SASL_PLAINTEXT and SASL_SSL security protocols in the UI fields provided. If you want to use these security protocols, you must create a configuration file and adjust the sasl.jaas.config property to include the com.parasoft.soavirt.kafka.shaded package prefix. The following example demonstrates how to configure the package for the plain login module:

com.parasoft.soavirt.kafka.shaded.apache.kafka.common.security.plain.PlainLoginModule 

Specify the configuration file in the Additional Settings File Path field under the Producer Settings or Consumer Settings.

Consumer Settings

Scroll Table Layout
widths30%,70%

...

TopicSpecify the name of a topic to which the producer will write messages.
Partition

Specify the integer number for the partition in a topic (e.g., 0, 1, 2).

If empty, the record key will be used to generate a partition number.

Record Key SerializerSpecify whether the key should be written/sent as a string or as null. The default value is string.
Record KeySpecify the record key.
Idempotent

Specify true to insure that only one message and no duplicates will be sent to the broker. Default is false.

Request TimeoutSpecify the how long to wait in milliseconds to send and receive an acknowledgment before timing out. Default is 30000.
Additional Settings File Path

Specify any additional Kafka producer configurations that are not available in the Virtualize UI. The file should conform to a normal Java properties file with key=value on each line. Refer to Kafka documentation for details about producer configuration properties:

https://kafka.apache.org/0100/documentation.html#producerconfigs 

Logging 

Scroll Table Layout
widths30%,70%

Log Level

Specify how much information you want logged to the console. The default is 2  (warn).

Transport Layer Security

Scroll Table Layout
widths30%,70%

TLS Protocol

Defines the Transport Layer Protocol to use when establishing a secure connection.

Default: TLSv1.2 

Security ProviderThe name of the security provider used for TLS connections. Default value is the default security provider of the JVM.
Key Store File LocationDefines an absolute or relative path to the asset (.tst, .pva, .pvn) key store file.
Key Store Type

Defines the type of Key Store File provided. Different Key Store Types can be handled depending on the security providers that have been loaded into the JVM. If additional security providers have been added to the JVM, check the security provider's documentation to gather the available Key Store Type names.

Key Store Password

Defines the password to be used to extract the keys/certificates from the Key Store File.

If left blank, an attempt will be made to extract the keys without a password.

Key PasswordSpecifies the password of the private key in the key store file. This setting is optional for clients.
Trust Store File Location

Defines an absolute or relative path to the asset (.tst, .pva, .pvn) Trust Store file.

Default: Trust All Certificates 

Trust Store Type

Defines the type of Trust Store File provided. Different Trust Store Types can be handled depending on the security providers that have been loaded into the JVM. If additional security providers have been added to the JVM, check the security provider's documentation to gather the available Trust Store Type names.

Trust Store Password

Defines the password to be used to extract the keys/certificates from the Trust Store File. If left blank, an attempt will be made to extract the keys without a password.

Logging 

Scroll Table Layout
widths30%,70%

Log Level

Specify how much information you want logged to the console. The default is 2  (warn).

Third-party Content

This extension includes items that have been sourced from third parties as outlined below.

...