Skip to content

Commit

Permalink
Merge pull request #18 from Malintha1996/master
Browse files Browse the repository at this point in the history
Fix typo in docs-api SinkMapper example-1
  • Loading branch information
suhothayan authored Sep 18, 2019
2 parents 05b930e + 9a2979a commit bc1a8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<span id="examples" class="md-typeset" style="display: block; font-weight: bold;">Examples</span>
<span id="example-1" class="md-typeset" style="display: block; color: rgba(0, 0, 0, 0.54); font-size: 12.8px; font-weight: bold;">EXAMPLE 1</span>
```
@sink(type='inMemory', topic='stock', @map(type='avro',schema.def = """{"type":"record","name":"stock","namespace":"stock.example","fields":[{"name":"symbol","type":"string"},{"name":"price":"type":"float"},{"name":"volume","type":"long"}]}"""))
@sink(type='inMemory', topic='stock', @map(type='avro',schema.def = """{"type":"record","name":"stock","namespace":"stock.example","fields":[{"name":"symbol","type":"string"},{"name":"price","type":"float"},{"name":"volume","type":"long"}]}"""))
define stream StockStream (symbol string, price float, volume long);
```
<p style="word-wrap: break-word">The above configuration performs a default Avro mapping that generates an Avro message as an output ByteBuffer.</p>
Expand Down

0 comments on commit bc1a8c3

Please sign in to comment.