Code Monkey home page Code Monkey logo

Comments (7)

gorugontula avatar gorugontula commented on August 28, 2024 1

If you use maven just add the following

 <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.7.5</version>
   </dependency>
   <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-log4j12</artifactId>
       <version>1.7.5</version>
   </dependency>

Or

   <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.7.5</version>
   </dependency>
   <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-simple</artifactId>
       <version>1.6.4</version>
   </dependency>

from emp-connector.

dannyknowlton avatar dannyknowlton commented on August 28, 2024

I have the same issue. Did you figure out the problem?

from emp-connector.

madzskill avatar madzskill commented on August 28, 2024

Hi,

I followed the steps (described here: https://trailhead.salesforce.com/en/content/learn/modules/change-data-capture/subscribe-to-events) for installing the EMP-Connector. When I try to start the connector, nothing is shown on the console when I change data in my org:

This is the command I use:
java -jar target/emp-connector-0.0.1-SNAPSHOT-phat.jar ORGUser ORGPw /data/Employee__ChangeEvent

This is the log output i get:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Subscribed: Subscription [/data/Employee__ChangeEvent:-2]

@fpintelandgraf Based on your log output console, it's just a warning since you were able to subscribe to the "Employee__ChangeEvent" event. Just try @gorugontula's suggestion, it's perhaps it's a missing JAR library..

from emp-connector.

Richardtheking avatar Richardtheking commented on August 28, 2024

Hi,

I followed the steps (described here: https://trailhead.salesforce.com/en/content/learn/modules/change-data-capture/subscribe-to-events) for installing the EMP-Connector. When I try to start the connector, nothing is shown on the console when I change data in my org:

This is the command I use:
java -jar target/emp-connector-0.0.1-SNAPSHOT-phat.jar ORGUser ORGPw /data/Employee__ChangeEvent

This is the log output i get:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Subscribed: Subscription [/data/Employee__ChangeEvent:-2]

Hi,

May I check with you if you successed to process the Trailhead task?

from emp-connector.

thefranix avatar thefranix commented on August 28, 2024

If you use maven just add the following

 <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.7.5</version>
   </dependency>
   <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-log4j12</artifactId>
       <version>1.7.5</version>
   </dependency>

Or

   <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
       <version>1.7.5</version>
   </dependency>
   <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-simple</artifactId>
       <version>1.6.4</version>
   </dependency>

Where to add this ?
Which directory/file ?

from emp-connector.

cloopadoop avatar cloopadoop commented on August 28, 2024

Hi guys! Most likely the error you're seeing isn't the cause of not receiving data. I had to enable streaming for the event I wanted to subscribe to. Go to Setup and then search for Event Manager, then use the dropdown arrow on the right next to the event(s) you want.

from emp-connector.

knhage avatar knhage commented on August 28, 2024

For Event Monitoring real-time events, enable streaming for the event first in Event Manager in Setup, as cloopadoop mentioned. For Change Data Capture events, which is the case for /data/Employee__ChangeEvent, enable the object on the Change Data Capture page in Setup.

from emp-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.