Comments (7)
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.
I have the same issue. Did you figure out the problem?
from emp-connector.
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__ChangeEventThis 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.
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__ChangeEventThis 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.
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.
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.
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)
- Even with correct credentials it is coming as Unable To Login: Invalid username, password, security token; or user locket out
- EMP-Connector is not consistently listening to platform events. It is missing some platform events.
- Unable to login HOT 12
- based on replay ID r u implementing can u tell me anyone source code is there please tell me
- publishing events into sales force any java example is there please any samples link or any suggestion HOT 1
- BayeuxParameters Keep-alive is not used
- Invalid channel id HOT 1
- Retry subscribe to Salesforce event when server returns 503 Server too busy
- README contains outdated example HOT 1
- Main method not found in class com.salesforce.emp.connector.example.DevLoginExample HOT 2
- Receiving Maintenance Page Response from LoginHelper HOT 1
- Unable to access jarfile ./target/emp-connector-0.0.1-SNAPSHOT-phat.jar
- Please push to maven
- Maven plugins not found
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" HOT 1
- Error: INVALID_LOGIN: Invalid username, password, security token, user not active, or user locked out
- EMP-Connector Missing to Consume Events While still being Subscribed and Long Polling HOT 1
- CometD 4.0 is at End of Life HOT 1
- CometD 5.0 is at End of Life
- TimeoutException in thread main and failure to connect to meta/handshake HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emp-connector.