Comments (6)
What datacontenttype are you using? It only supports application/json
from cloudevents-player.
the player's default is application/json, isn't it?
from cloudevents-player.
I get the following attempting to send events.
| | 2022-05-13 23:03:40 | 2022-05-14 04:03:40,458 ERROR [com.red.sys.too.clo.ser.MessageService] (pool-9-thread-2) Unable to send cloudEvent: java.util.concurrent.CompletionException: javax.ws.rs.WebApplicationException: Unknown error, status code 500
| | 2022-05-13 23:03:40 | at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
| | 2022-05-13 23:03:40 | at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
| | 2022-05-13 23:03:40 | at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:932)
| | 2022-05-13 23:03:40 | at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
| | 2022-05-13 23:03:40 | at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
| | 2022-05-13 23:03:40 | at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705)
| | 2022-05-13 23:03:40 | at org.jboss.resteasy.microprofile.client.impl.MpClientInvocation$Decorator.lambda$decorate$0(MpClientInvocation.java:93)
| | 2022-05-13 23:03:40 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
| | 2022-05-13 23:03:40 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
| | 2022-05-13 23:03:40 | at java.lang.Thread.run(Thread.java:829)
| | 2022-05-13 23:03:40 | at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:553)
| | 2022-05-13 23:03:40 | at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
| | 2022-05-13 23:03:40 | Caused by: javax.ws.rs.WebApplicationException: Unknown error, status code 500
| | 2022-05-13 23:03:40 | at org.jboss.resteasy.microprofile.client.DefaultResponseExceptionMapper.toThrowable(DefaultResponseExceptionMapper.java:21)
| | 2022-05-13 23:03:40 | at org.jboss.resteasy.microprofile.client.ExceptionMapping$HandlerException.mapException(ExceptionMapping.java:39)
| | 2022-05-13 23:03:40 | at org.jboss.resteasy.microprofile.client.async.AsyncInterceptorRxInvoker.lambda$whenComplete$0(AsyncInterceptorRxInvoker.java:56)
| | 2022-05-13 23:03:40 | at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
| | 2022-05-13 23:03:40 | ... 9 more
Scratch all this. I am using the kafka broker and it seems ingress-broker
is hardcoded.
from cloudevents-player.
I'll take a look next week
from cloudevents-player.
@zacheryph I have tested myself and it might be you deployed the broker in a different namespace or the broker name is not default
I will work on more flexible configurations.
If you can't make it work please ping me on the knative slack channel
from cloudevents-player.
@snowwolf007cn did you fix the issue? I haven't been able to reproduce it.
from cloudevents-player.
Related Issues (12)
- The trigger in the knative/deploy uses old `v1beta` API version HOT 1
- Page fails over HTTPS endpoint
- possible to support ARM images? HOT 3
- Support binary and structured events
- Rename packages
- Update documentation
- Duplicated media type (concatenated with ",") HOT 2
- RESTEASY002020: Unhandled asynchronous exception, sending back 500: java.lang.NullPointerException HOT 11
- UI fails with HTTP 403
- ARM64 builds are not working
- Enhance broker integration
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 cloudevents-player.