Hi Team,I am have installed apache 1.3 version in ...
# troubleshooting
s
Hi Team,I am have installed apache 1.3 version in my local system and testing ingestion for realtime tables. I have specified the following table configs for my table
{
"tableName": "streamnoauth",
"tableType": "REALTIME",
"segmentsConfig": {
"timeColumnName": "timestamp",
"timeType": "MILLISECONDS",
"schemaName": "streamnoauth",
"replicasPerPartition": "1"
},
"tenants": {},
"tableIndexConfig": {
"loadMode": "MMAP",
"nullHandlingEnabled": true,
"streamConfigs": {
"streamType": "kafka",
"stream.kafka.consumer.type": "lowlevel",
"stream.kafka.topic.name": "pinotnoauth",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.stream.kafka.KafkaJSONMessageDecoder",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka30.KafkaConsumerFactory",
"stream.kafka.broker.list": "localhost:9092",
"realtime.segment.flush.threshold.time": "36",
"realtime.segment.flush.threshold.rows": "5",
"stream.kafka.consumer.prop.auto.offset.reset": "smallest"
}
},
"metadata": {
"customConfigs": {}
}
}
So I am supposed to be using Kafka 30 package right. Why am i seeing the followng logs in my controller logs Kafka version: 2.8.2 The kafka server i am pushing to is also 3.9
x
can you paste more logs here
I suggest to remove the kafka2 plugin and only keep kafka3 plugin directory to keep it simple
s
yes sure
ConsumerConfig values:
allow.auto.create.topics = true
auto.commit.interval.ms = 5000
auto.offset.reset = latest
bootstrap.servers = [localhost:9092]
check.crcs = true
client.dns.lookup = use_all_dns_ips
client.id = PartitionGroupMetadataFetcher-streamnoauth1_REALTIME-pinotnoauth
client.rack =
connections.max.idle.ms = 540000
default.api.timeout.ms = 60000
enable.auto.commit = true
exclude.internal.topics = true
fetch.max.bytes = 52428800
fetch.max.wait.ms = 500
fetch.min.bytes = 1
group.id = null
group.instance.id = null
heartbeat.interval.ms = 3000
interceptor.classes = []
internal.leave.group.on.close = true
internal.throw.on.fetch.stable.offset.unsupported = false
isolation.level = read_uncommitted
key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
max.partition.fetch.bytes = 1048576
max.poll.interval.ms = 300000
max.poll.records = 500
metadata.max.age.ms = 300000
metric.reporters = []
metrics.num.samples = 2
metrics.recording.level = INFO
metrics.sample.window.ms = 30000
partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor]
receive.buffer.bytes = 65536
reconnect.backoff.max.ms = 1000
reconnect.backoff.ms = 50
request.timeout.ms = 30000
retry.backoff.ms = 100
sasl.client.callback.handler.class = null
sasl.jaas.config = null
sasl.kerberos.kinit.cmd = /usr/bin/kinit
sasl.kerberos.min.time.before.relogin = 60000
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
sasl.kerberos.ticket.renew.window.factor = 0.8
sasl.login.callback.handler.class = null
sasl.login.class = null
sasl.login.refresh.buffer.seconds = 300
sasl.login.refresh.min.period.seconds = 60
sasl.login.refresh.window.factor = 0.8
sasl.login.refresh.window.jitter = 0.05
sasl.mechanism = GSSAPI
security.protocol = PLAINTEXT
security.providers = null
send.buffer.bytes = 131072
session.timeout.ms = 10000
socket.connection.setup.timeout.max.ms = 30000
socket.connection.setup.timeout.ms = 10000
ssl.cipher.suites = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
ssl.endpoint.identification.algorithm = https
ssl.engine.factory.class = null
ssl.key.password = null
ssl.keymanager.algorithm = SunX509
ssl.keystore.certificate.chain = null
ssl.keystore.key = null
ssl.keystore.location = null
ssl.keystore.password = null
ssl.keystore.type = JKS
ssl.protocol = TLSv1.3
ssl.provider = null
ssl.secure.random.implementation = null
ssl.trustmanager.algorithm = PKIX
ssl.truststore.certificates = null
ssl.truststore.location = null
ssl.truststore.password = null
ssl.truststore.type = JKS
value.deserializer = class org.apache.kafka.common.serialization.BytesDeserializer
The configuration 'realtime.segment.flush.threshold.rows' was supplied but isn't a known config.
The configuration 'stream.kafka.decoder.class.name' was supplied but isn't a known config.
The configuration 'streamType' was supplied but isn't a known config.
The configuration 'stream.kafka.consumer.type' was supplied but isn't a known config.
The configuration 'stream.kafka.broker.list' was supplied but isn't a known config.
The configuration 'realtime.segment.flush.threshold.time' was supplied but isn't a known config.
The configuration 'stream.kafka.consumer.factory.class.name' was supplied but isn't a known config.
The configuration 'stream.kafka.consumer.prop.auto.offset.reset' was supplied but isn't a known config.
The configuration 'stream.kafka.topic.name' was supplied but isn't a known config.
Kafka version: 2.8.2
Kafka commitId: 3146c6ff4a24cc24
Kafka startTimeMs: 1745310099762
Error registering AppInfo mbean
javax.management.InstanceAlreadyExistsException: kafka.consumer:type=app-info,id=PartitionGroupMetadataFetcher-streamnoauth1_REALTIME-pinotnoauth
at java.management/com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:436) ~[?:?]
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1855) ~[?:?]
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:955) ~[?:?]
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:890) ~[?:?]
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:320) ~[?:?]
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522) ~[?:?]
at org.apache.kafka.common.utils.AppInfoParser.registerAppInfo(AppInfoParser.java:64) ~[pinot-all-1.3.0-jar-with-dependencies.jar:1.3.0-c0023da298126af6a01b802a04b66da34ba16134]
x
got it, how about the server side,which kafka version is it using
s
the kafka server is using 3.9.0 version
x
oh i mean pinot server
s
I am using pinot 1.3 version
x
i mean when server create a pinot realtime segment, in the log which kafka version it uses, like the log you see for controller
s
Do you mean these logs that i see on my pinot server
Adding new ONLINE segment: streamnoauth1__0__7__20250422T0655Z
Adding new ONLINE segment: streamnoauth1__0__11__20250422T0656Z
Adding new ONLINE segment: streamnoauth1__0__21__20250422T0656Z
Adding new ONLINE segment: streamnoauth1__0__14__20250422T0656Z
Default time: -9223372036854775808 does not comply with format: 1:MILLISECONDS:EPOCH, using creation time: 1745305063108 as the default time for table: streamnoauth1_REALTIME
Creating new stream consumer for topic partition streamnoauth1_REALTIME-pinotnoauth-0 , reason: Starting
Skipping auto SSL server validation since it's not configured.
ConsumerConfig values:
allow.auto.create.topics = true
auto.commit.interval.ms = 5000
auto.offset.reset = latest
bootstrap.servers = [localhost:9092]
check.crcs = true
client.dns.lookup = use_all_dns_ips
client.id = streamnoauth1_REALTIME-pinotnoauth-0
client.rack =
connections.max.idle.ms = 540000
default.api.timeout.ms = 60000
enable.auto.commit = true
exclude.internal.topics = true
fetch.max.bytes = 52428800
fetch.max.wait.ms = 500
fetch.min.bytes = 1
group.id = null
group.instance.id = null
heartbeat.interval.ms = 3000
interceptor.classes = []
internal.leave.group.on.close = true
internal.throw.on.fetch.stable.offset.unsupported = false
isolation.level = read_uncommitted
key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
max.partition.fetch.bytes = 1048576
metric.reporters = []
metrics.num.samples = 2
metrics.recording.level = INFO
metrics.sample.window.ms = 30000
partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor]
receive.buffer.bytes = 65536
reconnect.backoff.max.ms = 1000
reconnect.backoff.ms = 50
request.timeout.ms = 30000
retry.backoff.ms = 100
sasl.client.callback.handler.class = null
sasl.jaas.config = null
sasl.kerberos.kinit.cmd = /usr/bin/kinit
sasl.kerberos.min.time.before.relogin = 60000
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
sasl.kerberos.ticket.renew.window.factor = 0.8
sasl.login.callback.handler.class = null
sasl.login.class = null
sasl.login.refresh.buffer.seconds = 300
sasl.login.refresh.min.period.seconds = 60
sasl.login.refresh.window.factor = 0.8
sasl.login.refresh.window.jitter = 0.05
sasl.mechanism = GSSAPI
security.protocol = PLAINTEXT
security.providers = null
send.buffer.bytes = 131072
session.timeout.ms = 10000
socket.connection.setup.timeout.max.ms = 30000
socket.connection.setup.timeout.ms = 10000
ssl.cipher.suites = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.3]
ssl.endpoint.identification.algorithm = https
ssl.engine.factory.class = null
ssl.key.password = null
ssl.keymanager.algorithm = SunX509
ssl.keystore.certificate.chain = null
ssl.keystore.key = null
ssl.keystore.location = null
ssl.keystore.password = null
ssl.keystore.type = JKS
ssl.protocol = TLSv1.3
ssl.provider = null
ssl.secure.random.implementation = null
ssl.trustmanager.algorithm = PKIX
ssl.truststore.certificates = null
ssl.truststore.location = null
ssl.truststore.password = null
ssl.truststore.type = JKS
value.deserializer = class org.apache.kafka.common.serialization.BytesDeserializer
The configuration 'realtime.segment.flush.threshold.rows' was supplied but isn't a known config.
The configuration 'stream.kafka.decoder.class.name' was supplied but isn't a known config.
The configuration 'streamType' was supplied but isn't a known config.
The configuration 'stream.kafka.consumer.type' was supplied but isn't a known config.
The configuration 'stream.kafka.broker.list' was supplied but isn't a known config.
The configuration 'realtime.segment.flush.threshold.time' was supplied but isn't a known config.
The configuration 'stream.kafka.consumer.factory.class.name' was supplied but isn't a known config.
The configuration 'stream.kafka.consumer.prop.auto.offset.reset' was supplied but isn't a known config.
The configuration 'stream.kafka.topic.name' was supplied but isn't a known config.
Kafka version: 2.8.2
Kafka commitId: 3146c6ff4a24cc24
Kafka startTimeMs: 1745307676932
[Consumer clientId=streamnoauth1_REALTIME-pinotnoauth-0, groupId=null] Subscribed to partition(s): pinotnoauth-0
Creating new partition metadata provider, reason: Starting
x
right
oh
i think likely the kafka 3 is not packaged into the docker image ๐Ÿ™‚
can you please enter into the container and check the plugin directory?
s
I am actually not using docker
I am running pinot on my local machine using the binary distribution
x
ah
then check the plugin dir and see if there are kafka-3.0 plugin
we might only pacakge kafka2
s
yes the plugins/pinot-stream-ingestion directory has only the following directory pinot-kafka-2.0 but the kafka30 classes where present in the pinot-all-1.3.0-jar-with-dependencies.jar so i assumed the kafka 3.0 packeage would be loaded from there
x
yes, itโ€™s not packaged to the plugin, so I think you need to build and put it there
only the kafka3 classes are not enough
there are also surrounding pinot-kafka code
s
Is the default procedure...or will the later pinot versions contain the pinotkafka3.0 jar in the plugins directory as well
x
yes, we will package kafka 3 later
iirc kafka2 apis can be used for kafka3 cluster