Gradle Test Run :test
publish_sendsEventToTopic()
summary
|
100%
successful |
standard output
2026-05-31T06:23:53.403Z INFO 2655 --- [ Test worker] c.m.k.p.LanguagePreferenceProducer : Publishing event: customerId=cust-1 2026-05-31T06:23:53.419Z INFO 2655 --- [ Test worker] o.a.kafka.common.config.AbstractConfig : ProducerConfig values: acks = -1 batch.size = 16384 bootstrap.servers = [localhost:38377] buffer.memory = 33554432 client.dns.lookup = use_all_dns_ips client.id = producer-1 compression.gzip.level = -1 compression.lz4.level = 9 compression.type = none compression.zstd.level = 3 connections.max.idle.ms = 540000 delivery.timeout.ms = 120000 enable.idempotence = true enable.metrics.push = true interceptor.classes = [] key.serializer = class org.apache.kafka.common.serialization.StringSerializer linger.ms = 5 max.block.ms = 60000 max.in.flight.requests.per.connection = 5 max.request.size = 1048576 metadata.max.age.ms = 300000 metadata.max.idle.ms = 300000 metadata.recovery.rebootstrap.trigger.ms = 300000 metadata.recovery.strategy = rebootstrap metric.reporters = [org.apache.kafka.common.metrics.JmxReporter] metrics.num.samples = 2 metrics.recording.level = INFO metrics.sample.window.ms = 30000 partitioner.adaptive.partitioning.enable = true partitioner.availability.timeout.ms = 0 partitioner.class = null partitioner.ignore.keys = false receive.buffer.bytes = 32768 reconnect.backoff.max.ms = 1000 reconnect.backoff.ms = 50 request.timeout.ms = 30000 retries = 2147483647 retry.backoff.max.ms = 1000 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.connect.timeout.ms = null sasl.login.read.timeout.ms = 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.login.retry.backoff.max.ms = 10000 sasl.login.retry.backoff.ms = 100 sasl.mechanism = GSSAPI sasl.oauthbearer.assertion.algorithm = RS256 sasl.oauthbearer.assertion.claim.aud = null sasl.oauthbearer.assertion.claim.exp.seconds = 300 sasl.oauthbearer.assertion.claim.iss = null sasl.oauthbearer.assertion.claim.jti.include = false sasl.oauthbearer.assertion.claim.nbf.seconds = 60 sasl.oauthbearer.assertion.claim.sub = null sasl.oauthbearer.assertion.file = null sasl.oauthbearer.assertion.private.key.file = null sasl.oauthbearer.assertion.private.key.passphrase = null sasl.oauthbearer.assertion.template.file = null sasl.oauthbearer.client.credentials.client.id = null sasl.oauthbearer.client.credentials.client.secret = null sasl.oauthbearer.clock.skew.seconds = 30 sasl.oauthbearer.expected.audience = null sasl.oauthbearer.expected.issuer = null sasl.oauthbearer.header.urlencode = false sasl.oauthbearer.jwks.endpoint.refresh.ms = 3600000 sasl.oauthbearer.jwks.endpoint.retry.backoff.max.ms = 10000 sasl.oauthbearer.jwks.endpoint.retry.backoff.ms = 100 sasl.oauthbearer.jwks.endpoint.url = null sasl.oauthbearer.jwt.retriever.class = class org.apache.kafka.common.security.oauthbearer.DefaultJwtRetriever sasl.oauthbearer.jwt.validator.class = class org.apache.kafka.common.security.oauthbearer.DefaultJwtValidator sasl.oauthbearer.scope = null sasl.oauthbearer.scope.claim.name = scope sasl.oauthbearer.sub.claim.name = sub sasl.oauthbearer.token.endpoint.url = null security.protocol = PLAINTEXT security.providers = null send.buffer.bytes = 131072 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 transaction.timeout.ms = 60000 transaction.two.phase.commit.enable = false transactional.id = null value.serializer = class org.springframework.kafka.support.serializer.JacksonJsonSerializer 2026-05-31T06:23:53.458Z INFO 2655 --- [ Test worker] o.a.k.c.t.i.KafkaMetricsCollector : initializing Kafka metrics collector 2026-05-31T06:23:53.492Z INFO 2655 --- [ Test worker] o.a.k.clients.producer.KafkaProducer : [Producer clientId=producer-1] Instantiated an idempotent producer. 2026-05-31T06:23:53.523Z INFO 2655 --- [ Test worker] o.a.kafka.common.utils.AppInfoParser : Kafka version: 4.1.2 2026-05-31T06:23:53.523Z INFO 2655 --- [ Test worker] o.a.kafka.common.utils.AppInfoParser : Kafka commitId: c82fd9b934b4c1e6 2026-05-31T06:23:53.523Z INFO 2655 --- [ Test worker] o.a.kafka.common.utils.AppInfoParser : Kafka startTimeMs: 1780208633523 2026-05-31T06:23:53.558Z INFO 2655 --- [0-event-handler] o.a.k.c.ProducerIdControlManager : [QuorumController id=0] Replaying ProducerIdsRecord ProducerIdsRecord(brokerId=0, brokerEpoch=10, nextProducerId=1000) 2026-05-31T06:23:53.563Z INFO 2655 --- [ad | producer-1] org.apache.kafka.clients.Metadata : [Producer clientId=producer-1] Cluster ID: zhF9nUh7RXCEHoJbFueUig 2026-05-31T06:23:53.671Z INFO 2655 --- [ad | producer-1] o.a.k.c.p.internals.TransactionManager : [Producer clientId=producer-1] ProducerId set to 0 with epoch 0 2026-05-31T06:23:53.712Z INFO 2655 --- [ad | producer-1] c.m.k.p.LanguagePreferenceProducer : Published event: customerId=cust-1 partition=0 offset=0
error output
Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3 WARNING: A Java agent has been loaded dynamically (/home/runner/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.17.8/f09415827a71be7ed621c7bd02550678f28bc81c/byte-buddy-agent-1.17.8.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release