-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
NEW
-
NEW
09:26:43 [ERROR] Incorrect lazy initialization and update of static field org.kie.hacep.Config.config in org.kie.hacep.Config.getStatic() [org.kie.hacep.Config] At Config.java:[lines 99-100] LI_LAZY_INIT_UPDATE_STATIC
09:26:43 [ERROR] Integer is incompatible with expected argument type org.apache.kafka.common.TopicPartition in org.kie.hacep.core.infra.DeafultSessionSnapShooter.configConsumer() [org.kie.hacep.core.infra.DeafultSessionSnapShooter] At DeafultSessionSnapShooter.java:[line 121] GC_UNRELATED_TYPES
These two types are different so this will never succeed partitions.contains(partition.partition())
Please fix and remove duplication too
https://github.com/kiegroup/openshift-drools-hacep/blob/2ac305ab2ccc5d2cae9a257eec84730c2e2c1879/hacep/src/main/java/org/kie/hacep/core/infra/consumer/DefaultKafkaConsumer.java#L163
https://github.com/kiegroup/openshift-drools-hacep/blob/2ac305ab2ccc5d2cae9a257eec84730c2e2c1879/hacep/src/main/java/org/kie/hacep/core/infra/consumer/DefaultKafkaConsumer.java#L163