Coder Social home page Coder Social logo

Comments (3)

halspang avatar halspang commented on June 11, 2024

@ibrahimsen - This behavior is defined by the actual component, not the .NET SDK. I would ask about it in the components-contrib repo or the components-contrib discord.

It could still technically be a .NET issue, but we have example apps that use multiple topics on the same component, so I think we should investigate with the kafka component first.

from dotnet-sdk.

ibrahimsen avatar ibrahimsen commented on June 11, 2024

I tried with Subscription.yaml as below but there is same behaviour. It's not about a donet-sdk as you said. It can be about a pubsub component.

subscription.yaml

apiVersion: [dapr.io/v1alpha1](http://dapr.io/v1alpha1)
kind: Subscription
metadata:
  name: topic1-subscription
spec:
  topic: Topic1
  route: /api/test/topic1
  pubsubname: app-pubsub
scopes:
- notification
 
---
 
apiVersion: [dapr.io/v1alpha1](http://dapr.io/v1alpha1)
kind: Subscription
metadata:
  name: topic2-subscription
spec:
  topic: Topic2
  route: /api/test/topic2
  pubsubname: app-pubsub
scopes:
- notification

pubsub.yaml

apiVersion: [dapr.io/v1alpha1](http://dapr.io/v1alpha1)
kind: Component
metadata:
  name: app-pubsub
  namespace: test-app
spec:
  type: pubsub.kafka
  version: v1
  metadata:
  - name: brokers
    value: "kafka-host"
  - name: consumerGroup
    value: "test-app"
  - name: consumerID
    value: "test-app"
  - name: clientID
    value: "test-app"
  - name: authType
    value: "certificate"
  - name: consumeRetryInterval 
    value: 200ms
  - name: version # Optional.
    value: 0.10.2.0
  - name: maxMessageBytes 
    value: 1024
  - name: caCert
    secretKeyRef:
      name: kafkainfra-0-tls
      key: ca.crt
auth:
  secretStore: app-secretstore

from dotnet-sdk.

ParrySMS avatar ParrySMS commented on June 11, 2024

meet the same issue.

from dotnet-sdk.

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.