No current assignment for partition 解决

使用SparkStream连接Kafka并手动提交偏移量至Zookeeper时,遇到已保存偏移量被修改的问题,导致消费停滞并出现错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我用sparkstream连接的kafka,手动提交偏移量,保存到zk中, 我的分区2 消费到保存到zk中是351了,但是kafka中偏移量被人修改为起止就是352.,所以消费不到,报了个这个错误.

`timescale 1ns/1ns module real_tb_tb; reg [1:0] a, b, c, d; initial begin $display("===== Simulation Start ====="); $display("Time\ta\tb\tc\td"); a = 0; b = 0; c = 0; d = 0; #100 $display("%4t\t%0d\t%0d\t%0d\t%0d", $time, a, b, c, d); #50 $finish; // 总仿真时间150ns end always #10 begin a = {$random}%4; b = {$random}%4; c = {$random}%4; d = {$random}%4; $display("%4t\t%0d\t%0d\t%0d\t%0d", $time, a, b, c, d); end endmoduleInfo: ******************************************************************* Info: Running Quartus Prime Analysis & Synthesis Info: Version 18.0.0 Build 614 04/24/2018 SJ Standard Edition Info: Processing started: Thu Mar 20 14:46:52 2025 Info: Command: quartus_map --read_settings_files=on --write_settings_files=off real_tb -c real_tb Warning (18236): Number of processors has not been specified which may cause overloading on shared machines. Set the global assignment NUM_PARALLEL_PROCESSORS in your QSF to an appropriate value for best performance. Info (20030): Parallel compilation is enabled and will use 16 of the 24 processors detected Info (12021): Found 1 design units, including 1 entities, in source file real_tb.v Info (12023): Found entity 1: real_tb Info (12127): Elaborating entity "real_tb" for the top level hierarchy Info (10648): Verilog HDL Display System Task info at real_tb.v(8): a < b = 1 Info (10648): Verilog HDL Display System Task info at real_tb.v(9): a > b = 0 Info (10648): Verilog HDL Display System Task info at real_tb.v(10): a <= c = 0 Info (10648): Verilog HDL Display System Task info at real_tb.v(11): d <= a = X Error (12061): Can't synthesize current design -- Top partition does not contain any logic Error: Quartus Prime Analysis & Synthesis was unsuccessful. 1 error, 1 warning Error: Peak virtual memory: 4712 megabytes Error: Processing ended: Thu Mar 20 14:46:57 2025 Error: Elapsed time: 00:00:05 Error: Total CP
最新发布
03-21
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值