// scanEvent creates a ContentUpdated event according to the user input
scanEvent creates a ContentUpdated event according to the user input
// scanEvent creates a ContentUpdated event according to the user input
func scanEvent(scanner *bufio.Scanner) *models.ContentUpdated {
	fmt.Println("--- [Send Kafka ContentUpdated] ---")
	fmt.Println("Please type the URI like /help")
	fmt.Printf("$ ")
	scanner.Scan()
	uri := scanner.Text()
	return &models.ContentUpdated{
		URI:          uri,
		DataType:     "legacy",
		CollectionID: "collectionID",
		JobID:        "",
		TraceID:      "054435ded",
		SearchIndex:  "ONS",
	}
}
func scanEvent ( scanner * bufio . Scanner ) * models . ContentUpdated { fmt . Println ( " " ) fmt . Println ( " " ) fmt . Printf ( " " ) scanner . Scan ( ) uri := scanner . Text ( ) return & models . ContentUpdated { URI : uri , DataType : " " , CollectionID : " " , JobID : " " , TraceID : " " , SearchIndex : " " , } }
scanEvent creates a ContentUpdated event according to the user input
scanEvent creates a ContentUpdated event according to the user input