Questions tagged [cloudevents]

CloudEvents is a specification for describing event data in a common way. CloudEvents seeks to ease event declaration and delivery across services, platforms and beyond.

34 questions
0
votes
1 answer

"address not set" error in a Broker-Trigger configuration with Event Display

Trying something really basic here to start things out. Service "event-display-task1" is using the Go Event Display without issues. My service "event-display-task2" is a simple image based on the example from github…
Tom
  • 302
  • 2
  • 5
  • 14
0
votes
0 answers

CloudEvent Jackson deserialize to POJO

I am trying to consume messages wrapped by CloudEvents.V1 in Kotlin I checked on documentation (doc) and applied the same idea as in Java. My event is built as: CloudEventBuilder.v1() .withId(UUID.randomUUID().toString()) …
0
votes
0 answers

Classcastexception for CloudEventMessageConverter to AbstractMessageConverter

when using spring cloud stream latest version with cloud events spring sdk Facing classcastexception in below scenario. Message has contentType = application/*+avro. SmartcompositeMessageConverter contains converter list like below…
0
votes
1 answer

How to define a message fixed field value in AsyncAPI

We are looking at using CloudEvents as a message envelope for events generated in our system, and defining those messages using AsyncAPI. We are using the CloudEvents type property to identify each event type, with a different data property schema…
PeeGee
  • 99
  • 8
0
votes
1 answer

Why Eventarc for inserJOb on bigquery generating 2 events for every insert?

I am working on a use case,where I need to trigger DAG when a bigquery table is inserted with some records. I am using Eventarc , and listening for insertJob event provided by Eventarc for bigquery. It working almost fine, but I am getting 2 events…
0
votes
1 answer

Batch Consumer not working with Kafka for CloudEvents using Spring Cloud Stream

Trying to read the batch messages for CloudEvents from cloud stream with Kafka binder. If I use any custom class with custom serializer/deserializer it is working fine but with cloudevents the messages are not coming. spring cloud: …
0
votes
1 answer

Apache Kafka - Implementing a KTable and producing event using CloudEvent

I have an implementation related to KTable and using CloudEvents to produce events, but for some unknown reasons, the produced event from KTable is not formatted based on CloudEvent. The implementation is as below: public void initKafkaStream()…
0
votes
0 answers

String cannot be converted to CloudEvents

I am new to Kafka and trying to do some testing with a producer/consumer pair. I have a producer that looks like the below code. String key = "key1"; String message = "{}"; // has valid json CloudEventBuilder ceb = new…
Nesan Mano
  • 1,892
  • 2
  • 26
  • 43
0
votes
1 answer

Java: How to read binary cloudevent

I want to process cloudevents created with python through knative broker ingress in a java kafka consumer. How do i get back the playload values from binary? Event Creation: attributes = { "type": "com.example.sampletype1", "source":…
Pierre
  • 1,409
  • 12
  • 15
0
votes
0 answers

Lambda, Java and CloudEvents

I a have a Lambda function (java), which get triggered from Confluent Cloud Lambda Connector. The Lambda is being triggered but is failing because of deserialization errors. The signature is as follows public class App implements…
krisrr3
  • 77
  • 1
  • 16
0
votes
0 answers

How can I learn my List size as MB or KB?

I am using CloudNative.CloudEvents nuget package from https://cloudevents.io/ for cloudevents issues. I am getting the below error in my extension for binary serializer by using SerializeToUtf8Bytes() method. Serialization and deserialization of…
Penguen
  • 16,836
  • 42
  • 130
  • 205
0
votes
2 answers

Time datatype mismatch between Golang cloudEvent and proto

I am creating a proto file (and following cloudEvents standards). syntax = "proto3"; option go_package = "/events"; import "google/protobuf/timestamp.proto"; import "google/protobuf/any.proto"; message Event { string specversion = 2; …
Pragmatic
  • 3,093
  • 4
  • 33
  • 62
0
votes
0 answers

Relaying a CloudEvent from HTTP POST to Kafka in Quarkus

I have an incoming io.cloudevents.CloudEvent object from HTTP POST, and would like to relay the object as-is to the Kafka topic using Quarkus using this approach. Is there a way to do this? Thanks. ----RESTResource.java----- @Inject …
0
votes
2 answers

How to reply with a CloudEvent using cloudevents sdk-javascript

I want to use Knative Sequence to chain few ksvcs but failed. The first step ksvc can be triggered but not the rest of them. In my ksvc(Node.js), I used CloudEvent js-sdk. I assume I would need to return a new CloudEvent after receiving it. So here…
watermelon
  • 13
  • 4
0
votes
1 answer

Spring boot and CloudEvent AMQP binding

I'm trying to implement some CloudEvent demo. I have a hew spring boot services with RabbitMQ as a message bus they all send messages to a queue and one listens to the queue messages. I try to wrap my messages as CloudEvent to make them more…
Yaron
  • 2,209
  • 3
  • 18
  • 33