Skip to content

Commit 5e20c57

Browse files
committed
Correct topic name
1 parent 15986b4 commit 5e20c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/background_tasks/kafka_batch_update_points_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def run
4343
progress: progress,
4444
message_format_version: 1
4545
}
46-
RestClient.post("#{@kafka_bridge_url}/api/v0/event", { topic: 'user_course_progress', payload: message }.to_json, { content_type: :json, authorization: "Basic #{@kafka_bridge_secret}" })
46+
RestClient.post("#{@kafka_bridge_url}/api/v0/event", { topic: 'user-course-progress', payload: message }.to_json, { content_type: :json, authorization: "Basic #{@kafka_bridge_secret}" })
4747
end
4848
task.destroy!
4949
Rails.logger.info "Batch publish finished for #{course.name}"

0 commit comments

Comments
 (0)