You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/07/17 08:59:57 UTC

[GitHub] [pulsar] gurgen2727 removed a comment on issue #3968: Can`t get pulsar-client-go lib

gurgen2727 removed a comment on issue #3968: Can`t get pulsar-client-go lib
URL: https://github.com/apache/pulsar/issues/3968#issuecomment-512042433
 
 
   Hi
   
   I have another question :)
   The following schema doesn't work at all during create_producer, I want to pass array of maps (list of dictionaries), why it doesn't work ? please ?
   
   class MySchema(Record):
       a1 = String()
       b1 = Long()
       # array of dict, json data
       data = Array(Map(String()))
   
   this crashes during instance creation, even I didn't reach to send.
   producer = client.create_producer(topic='mytopic15', schema=AvroSchema(MySchema))
   
   Gurgen

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services