Nicolas Kovacs
04/06/2022, 2:47 PMNicolas Kovacs
04/06/2022, 2:50 PMCaught exception while processing resource contactEvents_REALTIME, skipping.
java.lang.StringIndexOutOfBoundsException: begin 0, end 8, length 7
at java.lang.String.checkBoundsBeginEnd(String.java:3319) ~[?:?]
at java.lang.String.substring(String.java:1874) ~[?:?]
at org.apache.pinot.common.utils.HLCSegmentName.<init>(HLCSegmentName.java:99) ~[pinot-all-0.10.0-jar-with-dependencies.jar:0.10.0-30c4635bfeee88f88aa9c9f63b93bcd4a650607f]
Kartik Khare
04/06/2022, 2:51 PMNicolas Kovacs
04/06/2022, 2:52 PM{
"tableName": "contactEvents",
"tableType": "REALTIME",
"segmentsConfig": {
"timeColumnName": "created_at",
"timeType": "DAYS",
"retentionTimeUnit": "DAYS",
"retentionTimeValue": "3650",
"segmentPushType": "APPEND",
"segmentAssignmentStrategy": "BalanceNumSegmentAssignmentStrategy",
"schemaName": "contactEvents",
"replication": "1",
"replicasPerPartition": "1"
},
"tenants": {
"broker": "DefaultTenant",
"server": "DefaultTenant",
"tagOverrideConfig": {}
},
"tableIndexConfig": {
"loadMode": "MMAP",
"streamConfigs": {
"streamType": "kafka",
"stream.kafka.consumer.type": "highlevel",
"stream.kafka.topic.name": "united-pg.public.contact_events",
"stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.stream.kafka.KafkaJSONMessageDecoder",
"stream.kafka.broker.list": "strimzi-kafka-bootstrap.strimzi.svc.cluster.local:9093",
"stream.kafka.hlc.bootstrap.server": "strimzi-kafka-bootstrap.strimzi.svc.cluster.local:9093",
"stream.kafka.hlc.zk.connect.string": "strimzi-zookeeper-client.strimzi.svc.cluster.local:2181",
"stream.kafka.consumer.prop.auto.offset.reset": "earliest",
"stream.kafka.hlc.group.id": "pinot",
"security.protocol": "SSL",
"ssl.truststore.type": "PKCS12",
"ssl.keystore.type": "PKCS12",
"ssl.truststore.location": "/ssl/ca.p12",
"ssl.keystore.location": "/ssl/strimzi-user-pinot.p12",
"ssl.truststore.password": "${SSL_TRUSTSTORE_PASSWORD}",
"ssl.keystore.password": "${SSL_KEYSTORE_PASSWORD}"
},
"bloomFilterColumns": [
"tenant_id",
"contact_id",
"content_id"
]
},
"metadata": {
"customConfigs": {}
}
}
Nicolas Kovacs
04/06/2022, 2:56 PM"stream.kafka.hlc.group.id"
I think It is causing an issue with the HLCSegmentName
classKartik Khare
04/06/2022, 2:59 PMlowlevel
consumer? I am meanwhile looking for a fix. I guess just increasing the groupId to a bigger string should fix it but need to verify.Nicolas Kovacs
04/06/2022, 3:02 PMlowlevel
consumer type right now 😕 I will try with a bigger group id (apachepinot
instead and let you know)Kartik Khare
04/06/2022, 4:13 PMPinotTableIdealStateBuilder
class. Working on alternative/fix.Neha Pawar
Nicolas Kovacs
04/07/2022, 8:16 AMNicolas Kovacs
04/07/2022, 8:41 AMnull
group id or random string generated ones ? Because in the case you enable ACLs on the external broker you will have issues ?Neha Pawar
Neha Pawar
Nicolas Kovacs
04/11/2022, 9:21 AMnull
group id, you will have no authorization error. After some search Kafka has change the behavior of group id ""
and group id null
https://issues.apache.org/jira/browse/KAFKA-6774Neha Pawar
Nicolas Kovacs
04/12/2022, 7:27 AM