this is the view definition
service IncomingConnectionStreamView {
option (kalix.codegen) = {
view: {}
};
option (kalix.service).eventing.in.direct = {
service: “host.docker.internal:9002”
event_stream_id: “connection_events”
};
rpc HandleLinkGcmConnectionReceived(AwaitingGCMConnectionNumberValidationEvent) returns (Connection) {
option (kalix.method).view.update = {
table: “connection”
transform_updates: true
};
}
rpc HandleNewDealEvent(NewDealEvent) returns (Deal) {
option (kalix.method).eventing.in = {
event_sourced_entity: “deal”
};
option (kalix.method).view.update = {
table: “deal”
transform_updates: true
};
}
rpc getDealConnections(ValidDealConnectionIdRequest) returns (DealConnection) {
option (kalix.method).view.query = {
query: "SELECT * FROM connection "
“JOIN deal on deal.deal_connections.connection_id = connection.connection_id WHERE deal.deal_id = :deal_id”
};
option (google.api.http) = {
get: “/deal/getDealById”
};
}
}
but I get the following error
2023-09-12 20:40:58,194 ERROR k.j.i.DiscoveryImpl [kalix-akka.actor.default-dispatcher-4 ] - Error reported from Kalix system: KLX-00422 Service level and method level eventing cannot be combined.
Update descriptor to use either service level eventing in options or method level options.
this used to work with 1.1.7 but our kalix version is latest now