This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBootTest | |
@EmbeddedKafka(partitions = 1, topics = ["some-topic"], controlledShutdown = true) | |
class KafkaReceiverTest { | |
@Autowired | |
protected lateinit var kafkaProperties: KafkaProperties | |
@Autowired | |
protected lateinit var embeddedKafka: EmbeddedKafkaBroker | |
@Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {PropTypes, PureComponent} from 'react'; | |
import {TextInput} from 'react-native'; | |
import debounce from 'debounce'; | |
/** | |
* This is a workaround for the buggy react-native TextInput multiline on Android. | |
* | |
* Can be removed once https://github.com/facebook/react-native/issues/12717 | |
* is fixed. | |
* |