adobe / adobe/experience-platform-streaming-connect

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

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
25
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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.(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.(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)

```

Contributor guide

Open the contributing guide

Research direction

The README table is the only named documentation location; begin by comparing its `aep.connection.auth.client.code` description with the authentication path, especially `AbstractAEPPublisher.getIMSTokenProvider` and `getAuthProvider` from the stack trace. Use the reported `AUTH_ENDPOINT=null` failure to identify the expected configuration, then update the README so the parameter's meaning and required Adobe Console value are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka
Domain
documentation, stream-processing
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.