mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
2) Downgrade NB Pulsar version from 2.11.1 to 2.10.4 to avoid NB S4J execution failure (runtime version conflict) 3) Fix S4J Adaptor metrics labeling conflict 4) Change the space shutdown logic for NB Pulsar, Kafka, and S4J such that to simply log an error message instead of throwing out a run-time exception (NB is shutting down anyway). 5) Minor update of NB Kafka and NB S4J properties file and add settings for connecting to Astra Streaming
64 lines
2.5 KiB
Properties
64 lines
2.5 KiB
Properties
#
|
|
# Copyright (c) 2023 nosqlbench
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
#####
|
|
# Topic related configurations (global) - topic.***
|
|
# - Valid settings: https://kafka.apache.org/documentation/#topicconfigs
|
|
#
|
|
#--------------------------------------
|
|
topic.compression.type=uncompressed
|
|
topic.flush.messages=2
|
|
# this is likely unused as this file doesn't seem to be loaded
|
|
topic.log.message.timestamp.type=CreateTime
|
|
|
|
#####
|
|
# Producer related configurations (global) - producer.***
|
|
# - Valid settings: https://kafka.apache.org/documentation/#producerconfigs
|
|
#
|
|
#--------------------------------------
|
|
producer.key.serializer=org.apache.kafka.common.serialization.StringSerializer
|
|
producer.value.serializer=org.apache.kafka.common.serialization.StringSerializer
|
|
#producer.client.id=nbDftClient
|
|
#producer.transactional.id=nbDftTxn
|
|
|
|
##
|
|
# NOTE: When connecting to Astra Streaming (with S4K enabled), enable the following settings and with
|
|
# the corresponding AS tenant and token information
|
|
##
|
|
#producer.security.protocol=SASL_SSL
|
|
#producer.sasl.mechanism=PLAIN
|
|
#producer.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="<AS_tenant>" password="token:<AS_token>";
|
|
|
|
|
|
#####
|
|
# Consumer related configurations (global) - consumer.***
|
|
# - Valid settings: https://kafka.apache.org/documentation/#consumerconfigs
|
|
#
|
|
#--------------------------------------
|
|
consumer.key.deserializer=org.apache.kafka.common.serialization.StringDeserializer
|
|
consumer.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer
|
|
consumer.group.id=nbDftGrp
|
|
#consumer.isolation.level=read_uncommitted
|
|
#consumer.enable.auto.commit=true
|
|
|
|
##
|
|
# NOTE: When connecting to Astra Streaming (with S4K enabled), enable the following settings and with
|
|
# the corresponding AS tenant and token information
|
|
##
|
|
#consumer.security.protocol=SASL_SSL
|
|
#consumer.sasl.mechanism=PLAIN
|
|
#consumer.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="<AS_tenant>" password="token:<AS_token>";
|