adobe / experience-platform-streaming-connect

Experience platform Streaming Connectors for Data Ingress
Apache License 2.0
24 stars 20 forks source link

What exactly is aep.connection.auth.client.code ? #74

Open daniel-torrecillas-dsg opened 5 months ago

daniel-torrecillas-dsg commented 5 months ago

Does anyone know what aep.connection.auth.client.code actually refers to?

I see the Description for that row in the table on this README says "IMS client code", but I don't see that at https://developer.adobe.com/console for my project. I only see "Access token", "Client ID", "Client Secret", "Technical Account ID", "Technical Account Email", and "Organization ID".

I tried using the access token for aep.connection.auth.client.code, and the Kafka Connect connector returned:

java.lang.NullPointerException: null value in entry: AUTH_ENDPOINT=null
    at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:33)
    at com.google.common.collect.ImmutableMapEntry.<init>(ImmutableMapEntry.java:54)
    at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:341)
    at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:450)
    at com.adobe.platform.streaming.sink.AbstractAEPPublisher.getIMSTokenProvider(AbstractAEPPublisher.java:147)
    at com.adobe.platform.streaming.sink.AbstractAEPPublisher.getAuthProvider(AbstractAEPPublisher.java:123)
    at com.adobe.platform.streaming.sink.AbstractAEPPublisher.getHttpProducer(AbstractAEPPublisher.java:82)
    at com.adobe.platform.streaming.sink.impl.AEPPublisher.<init>(AEPPublisher.java:58)
    at com.adobe.platform.streaming.sink.impl.AEPSinkTask.init(AEPSinkTask.java:34)
    at com.adobe.platform.streaming.sink.AbstractSinkTask.start(AbstractSinkTask.java:88)
    at org.apache.kafka.connect.runtime.WorkerSinkTask.initializeAndStart(WorkerSinkTask.java:313)
    at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:199)
    at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:256)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)