You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/15 17:29:05 UTC

[GitHub] [pulsar-dotpulsar] blankensteiner commented on issue #89: IProducer does not contain definition for NewMessage()

blankensteiner commented on issue #89:
URL: https://github.com/apache/pulsar-dotpulsar/issues/89#issuecomment-920221822


   @Oleg26Dev 
   You are using IProducer and not a generic IProducer<>. You need the generic interface to create a message.
   In your code you should change
   `static IProducer pulsarProducer`
   to
   `static IProducer<ReadOnlySequence<byte>> pulsarProducer`
   Which is what is returned by IProducerBuilder.Create()


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org